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 13032] - SetEnvIf[NoCase] doesn't allow you to test if an attribute does not match the regex
Date Mon, 07 Oct 2002 01:16:13 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=13032>.
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=13032

SetEnvIf[NoCase] doesn't allow you to test if an attribute does not match the regex

slive@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From slive@apache.org  2002-10-07 01:16 -------
In Apache 1.3 I don't believe there is a standard way to do negative
regexes.  In 2.0, PCRE does allow this; see the PCRE man page or the
Perl 5 regular expression documentation.

But there are several ways to work around this.  One is
SetEnvIfNoCase Remote_Host . access_not_uk
SetEnvIfNoCase access_uk 1 !access_not_uk
SetEnvIfNoCase access_not_uk 1 !attack_uk

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


Mime
View raw message