[Mailman-Users] Mailman URL and listinfo

Mark Sapiro msapiro at value.net
Sun Oct 10 17:06:00 CEST 2004


John Fleming wrote:
>
Mark Sapiro wrote:
>
>> John Fleming wrote:
>>
>> >I see my public lists when using mydomain.com/mailman/listinfo, but not
>when
>> >using www.mydomain.com/mailman/listinfo.  I have the appropriate info in
>the
>> >virtual host directive in mm_cfg.py.  What else affects this?  Thanks!  -
>>
>> VIRTUAL_HOST_OVERVIEW = On|Off
>>
>> in mm_cfg.py
>>
>> See article 4.17 in the FAQ: http://www.python.org/cgi-bin/faqw-mm.py
>>
>> --
>> Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
>
>Thanks for that, Mark, but it seems a bit more complicated:
>
>1.  First, I am using virtual hosts, and I would like my lists to be
>domain-specific.  Thus I need VIRTUAL_HOST_OVERVIEW to be ON.  It turns out
>that my mm_cfg.py file didn't contain that directive - (It must be ON by
>default.)  I did add it to my mm_cfg.py and turned it OFF.  Of course, all
>of my lists appeared, but I lost domain-specificity.
>
>2.  Seemingly contrary to the FAQ explanation, I only have the "problem"
>for -one- of my domains.  More specifically, with and without the www
>prefix:
>
>domain1.com/mailman/listinfo ---- WORKS
>    www.domain1.com/mailman/listinfo ---- DOESN'T WORK
>
>*****However:
>
>domain2.com/mailman/listinfo --- WORKS
>     www.domain2.com/mailman/listinfo ---- ALSO WORKS!!!
>
> - - - and a couple of other virtual host domains also work either way, with
>or without the www prefix.  It's only the first (default) virtual host that
>doesn't work with the www prefix.  Maybe it's an Apache thing?  Any further
>thoughts?  Thanks - John
>
>

This problem has been resolved after an off list conversation.

The solution was to run fix_url.py against the problem list. It appears
that the problem list was somehow originally created with a
web_page_url attribute like 'http://domain1.com/mailman/' instead of
'http://www.domain1.com/mailman/'. fix_url.py corrected that.

--
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list