[wp-trac] [WordPress Trac] #17096: WP_HTTP_Proxy :: Host check prevents proxying to local
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 9 19:22:38 UTC 2011
#17096: WP_HTTP_Proxy :: Host check prevents proxying to local
--------------------------+-----------------------------
Reporter: jimmynguyc | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: HTTP | Version: 3.1
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
Blog URL check should be '''optional''' by defining them in
WP_PROXY_BYPASS_HOSTS.
Forcing this check denies me from proxying my blog URL through 127.0.0.1,
which is needed because I'm ProxyPass-ing certain /directories to another
server.
E.g.
{{{
<VirtualHost *:80>
ServerName mysite.com
ProxyPass /special http://www.mysite.com/special
</VirtualHost>
}}}
/special is on a separate server running another CMS. Its IP is hardcoded
in the server's hosts file.
Hence,
I will have this in my wp-config.php for the WP http requests to work.
{{{
define('WP_PROXY_HOST', '127.0.0.1');
define('WP_PROXY_PORT', '80');
define('WP_PROXY_BYPASS_HOSTS','');
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17096>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list