Hi all

I have a new WP installation and have an outgoing proxy for all HTTP requests. I am having trouble getting themes/plugins etc ("An unexpected error has occured..."). Below is an excerpt from the wp-config.php and the Squid logs. As you can see in the logs, the problem is on POST ... (please note I dont use username/password on the proxy and I tested HTTP POST through wget and it seems to work fine). HTTP GETS work fine with WP as well. I am pasting the Squid and WP Config and the Squid log below.


EXCERPT from SQUID.CONF

acl POST method POST


http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports


http_access allow localhost
http_access allow from_samurai
http_access allow from_sweety
http_access allow from_hanuman01
http_access allow post from_hanuman01
ftp_access allow from_hanuman01

http_access deny all

WP-CONFIG:

define('WP_PROXY_HOST', '10.128.254.248');
define('WP_PROXY_PORT', '3177');
define('WP_PROXY_BYPASS_HOSTS','*.local-intranet');

LOG:

1393175744.116 5 10.128.246.118 TCP_HIT/200 65432 GET http://wordpress.org/news/feed/ - NONE/- text/xml 1393175744.813 614 10.128.246.118 TCP_REFRESH_MISS/200 207766 GET http://planet.wordpress.org/feed/ - DIRECT/66.155.40.249 text/xml 1393175745.119 164 10.128.246.118 TCP_REFRESH_MISS/200 7583 GET http://wordpress.org/plugins/rss/browse/popular/ - DIRECT/66.155.40.250 text/xml 1393175790.718 0 10.128.246.118 TCP_DENIED/501 1504 POST NONE:// - NONE/- text/html 1393175795.357 0 10.128.246.118 TCP_DENIED/501 1488 POST NONE:// - NONE/- text/html 1393175797.967 0 10.128.246.118 TCP_DENIED/501 1488 POST NONE:// - NONE/- text/html

Reply via email to