Mailman.. relative/absolute path issue???
Scot Hetzel
swhetzel at gmail.com
Mon Apr 16 16:25:08 UTC 2007
On 4/16/07, David Southwell <david at vizion2000.net> wrote:
> It looks as though mailman is trying to add whole or part of the absolute path
> to the absolute path!! weird.
> _______________________________
> When I checked the properties for each of the three icons at the bottom of the
> mail list creation page I found that the sought path is, for example:
> http://www.vizion2000.net/usr2/virtualwebs/icons/PythonPowered.png
> but should be
> /usr2/virtualwebs/icons/PythonPowered.png
>
> The relevant line in mm_cfg.py
> IMAGE_LOGOS = '/usr2/virtualwebs/icons/'
>
> I am not certain whether it may/maynot help to know that all web sites are
> located at the absolute paths /usr2/virtualwebs/<my.domain.ain>.
>
Looks like you are overriding the default URL location of the logos by
placing IMAGE_LOGOS in the mm_cfg.py file.
${PREFIX}/mailman/Mailman/Defaults.py has IMAGE_LOGOS defined as:
IMAGE_LOGOS = '/icons/'
All you need to do is add:
Alias /icons/ "/usr2/virtualwebs/icons/"
to your Apache configuration file(s) (it may already exists).
Scot
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
More information about the freebsd-ports
mailing list