Wordpress 2.7.1 behind Apache Proxy fails with incorrect hostname in URLs
|Reported by:||GavinCameron||Owned by:||markjaquith|
Recently upgraded from 2.7 to 2.7.1 using the automated upgrade option in wp-admin.
Environment is that we have an Apache server infront of the wordpress server. The Apache server (called www) acts as a proxy and does
When running 2.7 requests were proxied correctly and all URLs generated by wordpress use 'www' as the host.
After upgrading to 2.7.1, the first request to 'www' hits the wordpress server, but the URLs generated by wordpress uses 'wordpressserver' as the host part of the URL rather than 'www'.
'wordpressserver' is not accessible from the internet, hence must be proxied. This setup has been working flawlessly for quite a while.
Admin access has not been affected, only end user access is broken.
No other changes have been made and all plugins have been disabled.
Blog is currently unreadable due to this problem.
Change History (12)
- Component changed from General to Canonical
- Owner changed from anonymous to markjaquith
- Keywords needs-patch added
- Milestone changed from 2.8 to 2.9
- Priority changed from high to normal
- Severity changed from critical to normal