httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Juergen von Lengerke <lenger...@sixt.de>
Subject Re: [users@httpd] Aliases
Date Wed, 19 Feb 2003 17:03:23 GMT
Owen:
> >       # First get rid of trailing slash, if it exists.
> >       RewriteRule /mlist_(.*)/ /mlist_$1
> >
> >       # Main RewriteRule
> >       RewriteRule /mlist_(.*) "d:/www/lists/mlist_$1.html"

Spencer:
>
> Unfortunately, there is nothing in a list name that could
> be used to distinguish it from other web directories on
> our server.

You can still get away with one RewriteRule, but you'd need
to define every mailing list in the rule:

  RewriteRule ^/(listone|listtwo|listthree)/? d:/www/lists/$1.html [NC]

Should do what you want (albeit untested)


Regards, Hans

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message