www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Tratz <mlist-m...@esosoft.net>
Subject mod_rewrite/5714: mod_rewrite -> mod_prox rewrite escaping problem.
Date Sun, 06 Feb 2000 20:44:18 GMT

>Number:         5714
>Category:       mod_rewrite
>Synopsis:       mod_rewrite -> mod_prox rewrite escaping problem.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Feb 06 12:50:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     mlist-mail@esosoft.net
>Release:        1.3.11
>Organization:
apache
>Environment:
BSDI 4.0.1
>Description:
I have upgraded Apache from version 1.3.6 to 1.3.11.

However one of my .htaccess Rules is no longer working. Here is the content of the .htaccess
file:

RewriteEngine On
RewriteBase /cgi-bin
RewriteCond %{SERVER_PORT} !81
RewriteRule (.+)$ http://www.esosoft.net:81/cgi-bin/$1 [P]

It simply passes every request to the server on port 81 via the proxy
and retuns the results.

It works just fine with URLs without a ?, but as soon as
it has to serve a request like: review?id=1376, the proxy
server gets the following request: review%3Fid=1376?id=1376 and obviously
returns a 404 error as it could not find the script...

Do you know what I have to change in my rules or if its a bug? As I haven't changed anything
to the rules.....

Thank you

Michael


>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message