httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45478] R flag in RewriteRule does not honor 400 and 500 range error code
Date Mon, 28 Jul 2008 04:38:23 GMT

--- Comment #10 from Anny Mak <>  2008-07-27 21:38:22 PST ---
Put the rewrite condition inside <Location /> still gets the same error:

RewriteEngine On
RewriteLog logs/rewrite.log
RewriteLogLevel debug
<Location />
RewriteCond %{THE_REQUEST} "HTTP/1.[01]$"
RewriteRule .* - [R=400]

Since it fails during the start up phrase, the error.log file has not even been
generated yet.  The error is printed to stdout:

Starting Apache
Syntax error on line 362 of
RewriteRule: invalid HTTP response code for flag 'R'
Server start FAILED

The "httpd -v" output is:

Server version: Apache/2.0.59
Server built:   Aug 31 2006 19:47:37

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message