[Mailman-Users] strange porblem with apache

Manlio Perillo manlio_perillo at libero.it
Sat Mar 25 17:58:43 CET 2006

Mark Sapiro ha scritto:
> [...]
> And do you have something like
> following your redefinitions of DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST?

Yes, but I don't have a VIRTUAL_HOSTS.clear().

>> The link is correct:
>> <a href="http:/lists.python.mydebian/mailman/admin">
> <snip>
>> I have done tests with lynx, Mozilla, Firefox, Opera;
>> with all of them the browser add a lists.python.mydebian after the
>> domain name...
> Does this only happen on admin pages? 

I can't use any of the admin task, such as list creation.

> If it happens also to links on
> the admin overview, the listinfo overview or a specific listinfo page,
> perhaps you could give us a real URL so we can see the actual
> generated HTML.

The actual generated HTML is ok.
The link is correct.
It is only the browser that seems to add that URL fragment.

Here is an example using httplib (sorry, but the language is italian):

>>> import httplib
>>> con = httplib.HTTPConnection('lists.python.mydebian')
>>> con.request('GET', '/mailman/listinfo')
>>> r = con.getresponse()
>>> print r.status, r.reason
200 OK
>>> print r.msg
Date: Sat, 25 Mar 2006 03:38:24 GMT

Server: Apache/2.0.54 (Debian GNU/Linux) DAV/2 SVN/1.1.4
mod_python/3.1.3 Python/2.3.5 mod_ssl/2.0.54 OpenSSL/0.9.7e

Cache-control: no-cache

Transfer-Encoding: chunked

Content-Type: text/html; charset=iso-8859-1

>>> print r.read()

<LINK REL="SHORTCUT ICON" HREF="/images/mailman/mm-icon.png">
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE>Liste su lists.python.mydebian</TITLE>

> [...]

        <p>Gli amministratori possono visitare <a
href="http:/lists.python.mydebian/mailman/admin">la pagina di
supervisione per gli amministratori</a> per trovare l'interfaccia di
gestione della tua lista.
         <p>Se hai difficolt&agrave;, invia domande o commenti a <a
href="mailto:mailman at lists.python.mydebian">mailman at lists.python.mydebian</a>.<p></td>

> [...]


As one can see, the link to /mailman/admin is correct.

But the browser sees the link as

I really can't understand!
This seems to have nothing to do with Mailman or Apache

> Or, you could try saving the HTML from one of the admin pages to a file
> and opening the file in your web browser. If that still has the
> problem, maybe you could make that file available to us via the web.
>> Moreover in a first installation (I have installed and removed the
>> mailman package up to 3 times for testing purpose) all was ok (but the
>> configuration was a bit different).
> Specifically what was different? 

The links where correct.
As I can remember I had a:

in mm_cfg.py

But now, even if I try to change some options, the result don't change...

> And are you installing from source or
> is this a debian or other package?

debian precompiled package
  aptitude install mailman

Thanks and regards  Manlio Perillo

More information about the Mailman-Users mailing list