You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by NickM <ad...@regiocom.net> on 2002/02/13 19:25:16 UTC
mod_rewrite/9813: internal redirect messes up with rewrite proxy
>Number: 9813
>Category: mod_rewrite
>Synopsis: internal redirect messes up with rewrite proxy
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Wed Feb 13 10:30:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: advgraph@regiocom.net
>Release: 1.3.23
>Organization:
apache
>Environment:
Linux spong.regiocom.net 2.2.18 #2 SMP Mon Jan 29 01:28:58 CET 2001 i686 unknown
>Description:
webdocsroot = /www/horde/htdocs/
under /www/horde/htdocs/nickhome/ I have an .htaccess as follows:
RewriteEngine on
RewriteRule ^(.*)$ https://0.135.234.10/$1 [P]
(removed first octet of address)
accessing http://server/nickhome/ works as expected. however accessing
http://server/nickhome note no trainling slash, I would expect a redirect back to browser and continue as normal. However, it errors and on the other server's logs is:
[Wed Feb 13 18:12:18 2002] [error] [client 0.144.72.97] File does not exist: d:/apache group/apache/htdocs//www/horde/htdocs/nickhome
it has sent me the file path on the other machine as the request!!!
>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 <ap...@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! ]