httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "S.Hayles" <s...@leicester.ac.uk>
Subject RE: [users@httpd] URL Rewriting trouble with Apache 2.2
Date Mon, 24 Apr 2006 11:32:48 GMT

On Fri, 21 Apr 2006, Darren Hall wrote:
> This fixed my redirection for just this virtual
> host. Do I need to repeat this in each virtual host on the server, or can I
> put the redirect code in another location so it will apply to all virtual
> hosts on this server?

RedirectMatch is allowed at the server level as well as within VirtualHost 
containers. AFAIK server level RedirectMatch directives are inherited by 
VirtualHost containers. If not, and you have a common list of redirects, 
put them in a separate file and include it in each virtual host.

Steven


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