[TAG] (forw) [Mailman-Users] Virtual domain not quite working on HTTP (but fine on SMTP)
Rick Moen
rick at linuxmafia.com
Thu Jun 18 21:29:17 MSD 2009
Hi, Kapil. Thanks for trying to help.
Quoting Kapil Hari Paranjape (kapil at imsc.res.in):
> Is the apache virtual domain configured to use the mailman cgi-bin?
You'll note that http://linuxmafia.com/mailman/listinfo (and all
functions of the linuxmafia.com-based mailing lists) works, so I think
it's fair to say "yes". For reasons not yet clear, just not for the
virthost.
> Are the actual pages being generated in /var/lib/mail/archives/ ?
Let me just quote what I just sent back to a similar query from someone
on mailman-user:
> > # cat /var/www/gazette/.htaccess
> > redirect 301 /index.html
> > http://lists.linuxgazette.net/mailman/listinfo/
>
> that 404's for me: have you got the Mailman Apache stanzas set-up in
> lists.linuxgazette.net's vhost config? I've not had issues using
> ServerAlias directives, fwiw.
Um, that's not 404, you're being 301-redirected by the .htaccess file
to a URL that _is_ 404 on account of Mailman not providing the virthost
there. Here, let's temporarily disable the .htaccess file, and see:
# cd /var/www/gazette/
linuxmafia:/var/www/gazette# mv .htaccess .htaccess-save
linuxmafia:/var/www/gazette# touch HELLO-WORLD
You'll please note that http://lists.linuxgazette.net/ (and
http://lists.linuxgazette.net/HELLO-WORLD ) are not, in fact, 404.
But anyway, since you ask, here's the relevant excerpt from the Apache
config:
<VirtualHost lists.linuxgazette.net:80>
DocumentRoot /var/www/gazette
</VirtualHost>
<Directory /var/www/gazette/>
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
More information about the TAG
mailing list