Mailman setup
Jeffrey Goldberg
jeffrey at goldmark.org
Fri Apr 13 20:50:47 UTC 2007
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 at 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 at 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/
More information about the freebsd-ports
mailing list