[Mailman-Users] Point directly to listinfo
R.Barrett at ftel.co.uk
Thu Feb 7 11:10:06 CET 2002
At 14:47 06/02/2002 -0500, Lafleur Maurice wrote:
>Thanks for the suggestion, but I am not sure of the exact meaning of your
>Here's what Ii understand:
>I checked my /etc/httpd/conf/httpd.conf file and yes it says:
>LoadModule rewrite_module modules/mod_rewrite.so
>in the file.
>Then I copied the lines you suggest in that file (I placed them right
>after the ScriptAlias lines)
>I restarted the httpd daemon (killall -HUP httpd) and accessed my site.
>Same page as before. Am I missing a step?
Looks like your Apache is dynamically loading modules as you have:
LoadModule rewrite_module modules/mod_rewrite.so
and below that somewhere I'd expect the following line:
And you need to add the following lines:
RewriteRule ^/$ /mailman/listinfo [PT]
RewriteRule ^/index.html$ /mailman/listinfo [PT]
I suspect the only thing that was missing was the RewriteEngine On. Add
that and restart Apache.
> > -----Original Message-----
> > From: Richard Barrett
> [<mailto:R.Barrett at ftel.co.uk>mailto:R.Barrett at ftel.co.uk]
> > Sent: February 6, 2002 12:33 PM
> > To: Lafleur Maurice; mailman-users at python.org
> > Subject: Re: [Mailman-Users] Point directly to listinfo
> > At 11:45 06/02/2002 -0500, Lafleur Maurice wrote:
> > >The list server I am setting up is only used for lists. I
> > want the default
> > >page from apache to be my.server.org/mailman/listinfo
> > directly. I tried to
> > >make a symlink between /var/www/html/index.html and
> > >/home/mailmna/cgi-bin/listinfo :
> > >
> > >ln -s /home/mailman/cgi-bin/listinfo /var/www/html/index.html
> > This will not work as you are trying to link a static page to
> > a cgi script.
> > The link is fine but Apache cannot interpret this as you want.
> > Asdsuming you have mod_rewrite installed, the following
> > Apache re-write
> > rules will work to "transparently" redirect the URI '/' and
> > '/index.html'
> > to the cgi-script
> > RewriteRule ^/$ /mailman/listinfo [PT]
> > RewriteRule ^/index.html$ /mailman/listinfo [PT]
> > Whether you will get any knock-on problems with the browser
> > interpreting
> > relative links on the pages returned incorrectly is another
> > issue. If that
> > happens your may want to use the rewrite rules to redirect /
> > and /index.html:
> > RewriteRule ^/$ /mailman/listinfo [R,L]
> > RewriteRule ^/index.html$ /mailman/listinfo [R,L]
> > >but I get a Mailman CGI error page when I browse my server.
> > >
> > >If I access
> > ><<http://my.server.org/mailman/listinfo>http://my.server.org/mailman/li
> >directly it works fine.
> >I know it is something real simple and obvious but I can't seem to think
> >strait today.
> >Maurice G. Lafleur +------------------------------------------------+
> >Teacher + Voice: +1(819).778.2270 X1412 +
> >Heritage College + Fax: +1(819).776.7364 +
> >325 Cite des Jeunes + mailto: mlafleur at cegep-heritage.qc.ca +
> >Hull. Qc. +------------------------------------------------+
> >J8Y 6T3
More information about the Mailman-Users