Outgoing proxy connection problem

Not sure if this helps, but you can try.. So WordPress’ default HTTP transport is using cURL, and the HTTP class sets the proxy authorization method to CURLAUTH_ANY (see source), which might explain why the Proxy-Authorization: Basic xxxxx… header is missing from the request. And there’s a hook you can try to change the proxy … Read more

WP-CLI alias: connect with ssh proxy

I created simillar configuration to yours and proxy is working for me. My config looks like: Host production HostName xxx.xxx.xxx.xxx ProxyCommand ssh -q -W %h:22 vagrant ForwardAgent yes Host vagrant HostName 127.0.0.1 User vagrant Port 2222 UserKnownHostsFile /dev/null StrictHostKeyChecking no PasswordAuthentication no IdentityFile /path/to/.vagrant/machines/default/virtualbox/private_key IdentitiesOnly yes ForwardAgent yes LogLevel FATAL I’m treating my vagrant local … Read more

How to use the HTTP API with a Proxy?

The proxy settings work just like a regular HTTP requests but in this case obviously routed through a proxy. In terms of WordPress the API’s transport layers all support proxy connections(fsockopen, fopen, cURL, ). The things about proxy configurations are they come in several flavors and each setup is different so it makes answering this … Read more

Possible to fix admin URL behind proxy issue without hacking core?

I threw this question around on Twitter and asked for feedback from some other core developers. My gut instinct was to make $current_url either filterable or generated by a function that could be overridden. This is, apparently, the wrong way about it. @markoheijnen: @EricMann Resetting $_SERVER[‘HTTP_HOST’] sounds like a hackish solution. Same code then can … Read more

How can I speed up my WP admin section?

jQuery / JavaScript in the footer One thing you can do is to move jQuery to the footer blog post. It’s per default not needed in the header. You will have check if everything still works tough, as I normally just do that for themes: <?php /* Plugin Name: Move jQuery to the footer */ … Read more

bower proxy configuration

is there a way to configure bower not only to use a proxy but ignore the proxy configuration for some domains? I have the problem, that I will run an internal bower registry for our own developed components. For that repository I would like to ignore the proxy configuration.