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=18546>.
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=18546
$1 var lost proxying
Summary: $1 var lost proxying
Product: Apache httpd-1.3
Version: 1.3.27
Platform: PC
URL: http://bowman.bs/bugs/mod_rewrite/
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: mod_rewrite
AssignedTo: bugs@httpd.apache.org
ReportedBy: apache-bug@bowman.bs
This configuration worked fine with 1.3.24
but upgrading to 1.3.27 broke it.
The $1 in the proxying rewrite rule is not added for some reason
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteRule ^(.*/)?$ http://myhost.com:1005/$1 [P]
The relevant rewrite.log bits:
$ diff rewrite.1*
12,14c12,14
< rewrite admin/ -> http://learn.icoachacademy.com:1005/admin/
< forcing proxy-throughput with http://learn.icoachacademy.com:1005/admin/
< go-ahead with proxy request proxy:http://learn.icoachacademy.com:1005/admin/ [OK]
---
> rewrite admin/ -> http://learn.icoachacademy.com:1005/
> forcing proxy-throughput with http://learn.icoachacademy.com:1005/
> go-ahead with proxy request proxy:http://learn.icoachacademy.com:1005/ [OK]
26,28c26,28
< rewrite admin/ -> http://learn.icoachacademy.com:1005/admin/
< forcing proxy-throughput with http://learn.icoachacademy.com:1005/admin/
< go-ahead with proxy request proxy:http://learn.icoachacademy.com:1005/admin/ [OK]
---
> rewrite admin/ -> http://learn.icoachacademy.com:1005/
> forcing proxy-throughput with http://learn.icoachacademy.com:1005/
> go-ahead with proxy request proxy:http://learn.icoachacademy.com:1005/ [OK]
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
|