httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12356] New: - [mod_rewrite] does not work in server-context (httpd.conf)
Date Fri, 06 Sep 2002 10:25:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12356>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12356

[mod_rewrite] does not work in server-context (httpd.conf)

           Summary: [mod_rewrite] does not work in server-context
                    (httpd.conf)
           Product: Apache httpd-2.0
           Version: 2.0.40
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: mod_rewrite
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: info@orangexl.com


The followin is in my http.conf. The env variable nolog is set earlier through 
a SetEnvIf on my IP.

RewriteEngine On
RewriteOptions inherit
RewriteCond %{ENV:nolog} 1
RewriteRule .* - [F,L]

After a restart, nothing happens, everything works as normal. Tried it with
RewriteOptions inherit in every virtual host, but still nothing happens...
HOWEVER, if I place the same lines in a virtual host, it does work. Those same 
lines should also work in server-context (httpd.conf), since adding such rules 
to virtual hosts is madness...

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message