A vast majority of the links in wordpress are made using the $_SERVER[‘HTTP_HOST’] usage. Because of the apache reverse proxy, the request are made using 172.16.0.243.
But then, the links are served to the end client, wich know nothing of 172.16.0.243
Hi Laurent,
You might try turning the ProxyPreserveHost directive on in the proxy server. This will allow the content server (the one actually serving WordPress) to correctly evaluate HTTP_HOST. I had exactly the same problem, and setting this up worked like a charm.
Also, depending on how important IP verification is to you, you may also want find where REMOTE_ADDR is used in the source and change it to HTTP_X_FORWARDED_FOR. This will allow WordPress to correctly ID the source IP address. Otherwise, you’ll get the IP of your firewall as the source for all requests (which can confuse the comments and stats systems).