You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2018/08/23 05:02:54 UTC
[Bug 57056] Rewrite port is taken into hostname
https://bz.apache.org/bugzilla/show_bug.cgi?id=57056
Christophe JAILLET <ch...@wanadoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #2 from Christophe JAILLET <ch...@wanadoo.fr> ---
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@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org