[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 10:48:45 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):
> the pagination uses the wrong domain http://example.com/blog/wp-
admin/upload.php?paged=1 while it should be http://otherdomain.com/blog
/wp-admin/upload.php?paged=1, so fixing REQUEST_URI did not fix the
general problem
sounds like that's because of the usage of HTTP_HOST #16858 (HTTP_HOST
should have never been used) - That'll be getting fixed.
> Probably this setup is beyond the scope of what WordPress should be able
to do
Once you start to use another ReverseProxy/Load balancer setup you'll find
that they can also use different fieldnames, for example,
HTTP_X_ORIGINAL_HOST (Which is what a IIS-based setup uses IIRC)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16932#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list