[Mailman-Users] Main page on my server
bug at aphid.net
Wed Jun 14 16:38:42 CEST 2000
Wrote Steve Dinn on Wed, Jun 14, 2000 at 11:12:03AM -0300:
> I'm not all that experienced with CGI, but is there a way to make listinfo
> the" default" script? i.e., if someone goes to http://example.com/mailman
> I would like them to be redirected to listinfo. I have a host dedicated
> for mailman, so I'd like the root of the host to be the listinfo page.
> What I mean to say is that I hope there is a way for both
> http://lists.example.com AND http://lists.example.com/listinfo to get you
> to the same place.
Hmm good question. I have a similar set up to you so making the domain
on its own return the listinfo page is a good idea. I did this with
Apache to make it work just now (in the lists.mydomain.com VirtualHost
section of httpd.conf):
RedirectMatch ^/$ http://lists.mydomain.com/listinfo/
This redirects all requests for /. Not sure if this is the "proper" way to
do it, as this sends an HTTP "Page moved temporarily" result to the
browser along with the redirection. It seems to work.
More information about the Mailman-Users