Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2007 11:25:05 -0500
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        "David Southwell" <david@vizion2000.net>
Cc:        ports@freebsd.org
Subject:   Re: Mailman.. relative/absolute path issue???
Message-ID:  <790a9fff0704160925i7d7a4afcj63bff6886f2711f8@mail.gmail.com>
In-Reply-To: <200704160850.49971.david@vizion2000.net>
References:  <200704160850.49971.david@vizion2000.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/16/07, David Southwell <david@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0704160925i7d7a4afcj63bff6886f2711f8>