Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2007 15:50:46 -0500
From:      Jeffrey Goldberg <jeffrey@goldmark.org>
To:        David Southwell <david@vizion2000.net>
Cc:        ports@freebsd.org
Subject:   Re: Mailman setup
Message-ID:  <4C1BB7A9-D71D-4022-B526-6533F2809D53@goldmark.org>
In-Reply-To: <200704131042.57321.david@vizion2000.net>
References:  <200704130517.20063.david@vizion2000.net> <AB55EB04-AD36-4430-9FD3-F0E05140CB13@goldmark.org> <200704131042.57321.david@vizion2000.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 13, 2007, at 12:42 PM, David Southwell wrote:

> The path to my virtual webs is
> /usr2/virtualwebs/my.virtual.site.name
>
> In attempting to create the first list I received no advice email  
> from the
> list but did find the following errors in httpd-errors-log
>
> [Fri Apr 13 10:16:55 2007] [error] [client 192.168.15.1] File does not
> exist: /usr2/virtualwebs/vizion2000.net/usr2, referer:
> http://www.vizion2000.net/mailman/create
> [Fri Apr 13 10:16:55 2007] [error] [client 192.168.15.1] File does not
> exist: /usr2/virtualwebs/vizion2000.net/usr2, referer:
> http://www.vizion2000.net/mailman/create

Those errors are probably not related to why you received no mail.

> I then tried:
> [root@dns1 /usr/local/mailman]# fgrep -R usr2 ./*
> ./Mailman/mm_cfg.py:IMAGE_LOGOS = '/usr2/virtualwebs/icons/'
> Binary file ./Mailman/mm_cfg.pyc matches
> ./Mailman/mm_cfg.py~:IMAGE_LOGOS = '/usr2/virtualwebs/icons/'
> [root@dns1 /usr/local/mailman]#
>
> After some digging around I find that mailman is looking for the  
> icons in
> http://www.vizion2000.net/usr2/virtualwebs/icons/ rather than in
> /usr2/virtualwebs/icons
>
> My mm_cfg.py has the following entry line:
> IMAGE_LOGOS = '/usr2/virtualwebs/icons/'
> so it seems as though the path is being read as relative
> to /usr2/virtualwebs/vizion2000.net rather than as an absolute path.

Yes, that is what is described in the comments in Defaults.py before  
the IMAGE_LOGOS setting.

> How can I change this behaviour?

Why do you wish to change it?  Just leave it as the default.

Also recall that you should have something like

  Alias /icons "/usr/local/mailman/icons"

in the virtual host configuration for apache.

-j


-- 
Jeffrey Goldberg                        http://www.goldmark.org/jeff/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C1BB7A9-D71D-4022-B526-6533F2809D53>