httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Holthaus - Orange XL" <i...@orangexl.com>
Subject Re: [users@httpd] Apache 2 and Rewrite Engine
Date Fri, 06 Sep 2002 01:19:30 GMT
Forgot to mention that I want to put it in the httpd.conf so that I do not
have to config it for every virtual host.

> I hope someone can help me. I've been trying to get the following working
> for days now:
>
> I want to put something like the following in my httpd.conf:
>
> SetEnvIf Remote_Addr xxx.xxx.xxx.xxx goaway
>
> RewriteEngine On
> RewriteCond %{ENV:goaway} true
> RewriteRule .* - [F,L]
>
> The problem is that this doesn't do anything. Actually, every rewriterule
I
> tried does not work in the httpd.conf, while they do work in .htaccess. I
> cannot find out why. Can anyone help me out here???
>
>
>
>
> ---------------------------------------------------------------------
> 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
>
>


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