[wp-trac] [WordPress Trac] #9110: Wordpress 2.7.1 behind Apache Proxy fails with incorrect hostname in URLs

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 12 09:06:37 GMT 2009


#9110: Wordpress 2.7.1 behind Apache Proxy fails with incorrect hostname in URLs
--------------------------+-------------------------------------------------
 Reporter:  GavinCameron  |       Owner:  anonymous
     Type:  defect (bug)  |      Status:  new      
 Priority:  high          |   Milestone:  2.7.2    
Component:  General       |     Version:           
 Severity:  critical      |    Keywords:           
--------------------------+-------------------------------------------------
 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

     ProxyPass / http://wordpressserver:11003/
     ProxyPassReverse / http://wordpressserver:11003/

 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9110>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list