https://issues.apache.org/bugzilla/show_bug.cgi?id=45478





--- Comment #10 from Anny Mak <[EMAIL PROTECTED]>  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]
</Location>

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
/local0/anny/ers31/servers/20reqproctest/conf/httpsd.conf:
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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to