...making Linux just a little more fun!
Kapil Hari Paranjape [kapil at imsc.res.in]
[[[ This references a thread that has been moved to the LG Launderette, re: the various LG mailing lists. -- Kat ]]]
Disclaimer: Unlike you I have only been running mailman lists for a year and a half so I am unlikely to be of any help!
On Wed, 17 Jun 2009, Rick Moen wrote:
> Greetings, good people. Problem summary: After server rebuild, > virtual hosts work for SMTP, but Mailman's Web pages are appearing > for the main host only and not the virtual host.
Are the actual pages being generated in /var/lib/mail/archives/ ?
Is the apache virtual domain configured to use the mailman cgi-bin?
These were the only two questions that occurred to me when I read through your mail.
Rick Moen [rick at linuxmafia.com]
Hi, Kapil. Thanks for trying to help.
Quoting Kapil Hari Paranjape (firstname.lastname@example.org):
> 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
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>