Mark Sapiro ha scritto: > [...] > And do you have something like > > VIRTUAL_HOSTS.clear() > add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) > > 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? No. 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() <HTML> <HEAD> <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> </HEAD> > [...] <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à, invia domande o commenti a <a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>.<p></td> </tr> > [...] </HTML> As one can see, the link to /mailman/admin is correct. But the browser sees the link as http://lists.python.mydebian/lists.python.mydebian/mailman/admin 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: POSTFIX_STYLE_VIRTUAL_DOMAINS = [] 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 ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp