[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 57056] Rewrite port is taken into hostname


https://bz.apache.org/bugzilla/show_bug.cgi?id=57056

Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #2 from Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> ---
Unless I missed something, your configuration matches:
> Here are all possible substitution combinations and their meanings:
>
> Inside per-server configuration (httpd.conf)
> for request ``GET /somepath/pathinfo'':
> [...]
> ^/somepath(.*) http://thishost/otherpath$1 [P] 	doesn't make sense, not supported

at the end of
https://httpd.apache.org/docs/2.4/en/mod/mod_rewrite.html#rewriterule.

I tried your configuration with the trunk version. I also get a AH00898, but
with another error message.

If I change the port number in the RewriteRule to something different from the
one in the VirtualHost, everything seems to work fine.

So, I guess that "*:8121" in VirtualHost and '%{HTTP_HOST}:8121' in RewriteRule
are the same, which is not supported as per doc.


So closing as invalid.
Feel free to re-open, if I misunderstood something.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx