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 9464] New: - Error 400 when using mod_rewrite
Date Tue, 28 May 2002 16:46:33 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=9464>.
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=9464

Error 400 when using mod_rewrite

           Summary: Error 400 when using mod_rewrite
           Product: Apache httpd-2.0
           Version: 2.0.36
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_rewrite
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: NoDoubt_97@yahoo.com


I can't get mod_rewrite to do anything but return error 400 - using the same 
rules which used to work perfectly on Apache 1.3.23. One such rule was :

RewriteRule ^/actu/article/(.+)\.[sp]?html?$ /cgi-bin/actu.cgi?id=$ 
[T=application/x-httpd-cgi]

... but I get this even with any simple rule, such as

RewriteRule ^/foo\.html$ /index.shtml

Nothing but error 400 :( !

This is what I get in the rewrite_error.log :

62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#642c38/initial] (2) init rewrite engine 
with requested uri /foo.html
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#642c38/initial] (3) applying 
pattern '^/foo.html$' to uri '/foo.html'
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#642c38/initial] (2) rewrite /foo.html -
> /index.shtml
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#642c38/initial] (2) local path 
result: /index.shtml
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#643df8/initial/redir#1] (2) init rewrite 
engine with requested uri /error/HTTP_BAD_REQUEST.html.var
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#643df8/initial/redir#1] (3) applying 
pattern '^/foo.html$' to uri '/error/HTTP_BAD_REQUEST.html.var'
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#643df8/initial/redir#1] (1) pass 
through /error/HTTP_BAD_REQUEST.html.var
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#64ac58/subreq] (2) init rewrite engine 
with requested uri /error/include/top.html
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#64ac58/subreq] (3) applying 
pattern '^/foo.html$' to uri '/error/include/top.html'
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#64ac58/subreq] (1) pass 
through /error/include/top.html
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#64ac58/subreq] (2) init rewrite engine 
with requested uri /error/include/bottom.html
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#64ac58/subreq] (3) applying 
pattern '^/foo.html$' to uri '/error/include/bottom.html'
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#64ac58/subreq] (1) pass 
through /error/include/bottom.html
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#64cc60/subreq] (2) init rewrite engine 
with requested uri /error/contact.html.var
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#64cc60/subreq] (3) applying 
pattern '^/foo.html$' to uri '/error/contact.html.var'
62.212.100.109 - - [28/May/2002:18:24:37 +0100] 
[chatelet.dyndns.org/sid#622028][rid#64cc60/subreq] (1) pass 
through /error/contact.html.var

I was using IE 6.0 for these tests, but got exactly the same error with 
Mozilla 1.0RC3

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


Mime
View raw message