[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

--- Comment #4 from Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> ---
If the port is different, it seems to work, according to my testing.

Look at the allowed configuration at the bottom of the link in comment 2.
My understanding of the doc, and according to my tests, is that "thishost"
mentioned in the doc means "the host name including its port".
So *:8121 in the VirtualHost and '%{HTTP_HOST}:8121' in RewriteRule matches,
and is not a supported configuration.

But *:8121 in the VirtualHost and '%{HTTP_HOST}:8122' in RewriteRule shouldn't
match and would refer to :
> ^localpath(.*) http://otherhost/otherpath$1 [P] 	http://otherhost/otherpath/pathinfo via internal proxy
in the doc.


If you could try and confirm, I would update the doc to be more precise.

-- 
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