On 02.07.2010 22:02, Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rainer,

On 7/2/2010 10:13 AM, Rainer Jung wrote:
On 02.07.2010 02:37, Christopher Schultz wrote:

Okay, I changed my RewriteRule to this:

          RewriteRule .* /bad-browser.shtml [L,E=no-jk]

OK, I did a little test:

RewriteRule .* /bad-browser.shtml [L,E=no-jk:1]

should work. A quick glance at mod_rewrite's code indicates it drops E=
rules when no value is present.

You know, I should have thought of that. My other experiences with
environment variables and non-env variables with Apache was that you can
set a variable to nothing but it is still considered "set" (or
"defined", if you prefer). In this case, it is not.

Right, I'd say it's a buglet in mod_rewrite. Maybe something I can improve for httpd trunk ... (I need to check whether it still behaves the same there).

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to