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 <[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 affect requests
> processes by a virtual host you have to add the following to your
> virtual host config:
> RewriteOptions inherit
> 
> Krist
> 
> -- 
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> 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:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_________________________________________________________________
MSN热搜榜,每天最In的信息资讯和热点排行让您一览无余!
 http://top.msn.com.cn

Reply via email to