On 10/5/05, Duncan Drury <d.drury@xxxxxxxxx> wrote: > The Rewrite directives need to go within a Directory block within the > appropriate VirtualHost: > > <Directory /foo/bar> > RewriteEngine on > RewriteRule ^(.*)/section$ /new_location/new_file.htm > </Directory> > > As I understand it you have to do this for every VirtualHost, as Rewrite > directives aren't inherited. Well, at least RewriteEngine isn't, according > to the Apache manual. If someone knows better I'd be keen to hear, as there > are some rewrite directives it would be useful to apply globaly. You can also put it outside the <VirtualHost> and use RewriteEngine On RewriteOptions Inherit in each <VirtualHost> Joshua. --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx