httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] mod_rewrite mass virtual hosting and aliases
Date Tue, 06 Dec 2005 15:11:36 GMT
On 12/6/05, gregory duchesnes <> wrote:

> RewriteCond ${vhost:%1} ^(/.*)$

That %1 doesn't reference anything, which is why you have an empty
key.  I think you want to replace it with ${lowercase:%{SERVER_NAME}}

Be careful here, however.  What happens if the name isn't in the map? 
You should at least supply a default.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message