httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krist van Besien <>
Subject Re: [users@httpd] virtual hosts and rewrite rules
Date Mon, 25 May 2009 11:48:24 GMT
On Fri, May 22, 2009 at 10:30 AM, Tom Evans <> wrote:

> If you have vhosts, then the default vhost is not what is specified
> outside of the vhost tags, it is the first defined vhost in your conf
> file. This means that any vhost level directives (like RewriteRules,
> ProxyPass, Location blocks etc) must be defined inside a vhost container
> to be relevant. Yours aren't, which is why they are ignored.

You can use:

RewriteOptions Inherit

to make a Vhost inherit the rewrite rules from the surrounding config.


Bremgarten b. Bern, Switzerland
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

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