httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Warhurst, SI (Spencer) " <S.I.Warhu...@rl.ac.uk>
Subject RE: [users@httpd] Aliases
Date Wed, 19 Feb 2003 16:09:01 GMT

> >  RewriteRule /(.*)\/* "d:/www/lists/$1.html"
> 
> I'm not an expert on mod_rewrite but if this translates as:
> 
> "any_resource, followed by zero or more slashes, goes to
> d:/www/lists/<any_resource>.html"
> 
> then that should work fine. It's a bit general though - do you have
> absolutely nothing else on your server? Even http://server/index.html
> will go to d:/www/lists/index.html.html with this rule...

Actually when you put it that way, you're right - that would make a mess of
everything since the mailing list pages are on the same server as our main
site pages :-)

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

Spencer

---------------------------------------------------------------------
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