some url are wrong when REQUEST_URI are different in host and proxy
|Reported by:||gamboz||Owned by:|
Some url strings are generated with the host REQUEST_URI instead of the proxy REQUEST_URI (that is also set up in "WordPress address" and "Site address" variables under "Settings").
How to replicate:
. download the tar.gz for v. 3.0
. install under /some/path/AAA on host X
. configure apache2 on X with "Alias /AAA /some/path/AAA"
. install wordpress via web interface
. modify "WordPress address" and "Site address" variables under "Settings" to report "http://Y/BBB
. go to machine Y
. configure apache2 as a proxy/gateway:
. navigate to http://Y/BBB (all well)
. navigate to http://Y/BBB/wp-admin/options-general.php
the input field
<input type="hidden" name="_wp_http_referer"...
will have value:
(some other places also).