[wp-trac] [WordPress Trac] #16932: Media Upload top navigation producing wrong URLs when WordPress is run behind a ReverseProxy

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 24 09:03:22 UTC 2011


#16932: Media Upload top navigation producing wrong URLs when WordPress is run
behind a ReverseProxy
----------------------------+----------------------
 Reporter:  tploch          |       Owner:
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:  invalid
 Keywords:                  |
----------------------------+----------------------

Comment (by dd32):

 > Erm, how is this a server configuration issue if you are not even
 checking for X-Forwarded-For and X-Forwarded-Host headers?

 In this case, it doesnt sound like those headers make a difference.
 REQUEST_URI only contains the path being requested, ie. on your system it
 *should* be `/blog/wp-admin/media-upload.php?post_id=1116` but seems to be
 set to `/wp-admin/media-upload.php?post_id=1116`

 Dump out $_SERVER and check the paths, see if they all match up as they
 should.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16932#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list