On Thu, Oct 25, 2001 at 06:15:02PM -0400, Greg Ward wrote:
> On 25 October 2001, Michael H Moran said:
> > Running mailman 2.0.6, on Linux with Apache,  is there a way to 
> > shorten the URL to the listinfo page for a specific list ?
> > 
> > i.e.   http://<hostname>/mailman/listinfo/<list name>
> > becomes
> >        http://<hostname>/<list name> 
> 
> This should be doable with a simple RewriteRule.
> 
> Try this:
>   RewriteRule ^/foo-list$ /mailman/listinfo/foo-list
> 

[ snip ]

> Which FM?  This is really an Apache question.  See the docs for the
> rewrite engine:
>   http://httpd.apache.org/docs/mod/mod_rewrite.html
> 
> The biggest gotcha is that you have to do "RewriteEngine on" *for each
> virtual host* in your http.conf.

The real problem is that for  http://<hostname>/mailman/listinfo/<list name>
both the "listinfo" and <list name>  are pseudo elements, ie
you can't cd to either one as they don't exist.

I was trying simple apache Alias directives,  and symlinks both
of which fail do to the fact that listinfo is not a file or directory.

Hadn't thought about rewrites...thanks, new avenue to explore.

Mike

------------------------------------------------------
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users

Reply via email to