Thanks Krist,
By adding these two lines in every virtual host, it works.
RewriteEngine OnRewriteOptions inherit
Date: Mon, 24 Nov 2008 09:27:12 +0100
From: [EMAIL PROTECTED]
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Server config level RewriteCond not working
2008/11/24
likai wrote:
Thanks Krist,
By adding these two lines in every virtual host, it works.
RewriteEngine /On/
RewriteOptions /inherit/
Thats because that sets Rewrite to kick in.
Inherit says hey! bring whatever my parent says is its rewriteRule and
make me follow it!
--
Morgan Gangwere
2008/11/24 likai [EMAIL PROTECTED]:
I am wondering why the server config level settings do not work.
Server config level rewrites certainly work, but they are not
automatically inherited by a virtual host. Probably this is what you
are seeing.
If you want to have your server level rewrite rules
Hi,
I learned that
The RewriteCond
has 3 kinds of context(This indicates where in the server's configuration files
the directive is legal)
Server config, virtual host,
directory.
I have a httpd.conf file which has several whosts.
when configuring the server config level rewritcond