httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Holthaus - Orange XL" <>
Subject [users@httpd] Apache 2 and Rewrite Engine
Date Fri, 06 Sep 2002 01:13:14 GMT
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 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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message