Trojan Posted July 11, 2014 Posted July 11, 2014 Hi, Hopefully someone knows the answer to this as it's driving me mad. I can't get wordpress to see the internet via the proxy server. I have edited wp-config.php as per: WordPress Proxysupport | But this doesn't work, RSS feeds don't load and plugins/themes cant be retrieved. Has anybody come across this before? Thanks.
Cache Posted July 11, 2014 Posted July 11, 2014 I had a nightmare getting this working too, one install I couldn't work out what was happening so had to flatten and reinstall. Sounds daft, but positioning is critical in the wp-config.php file, make sure it isn't below the "That's all, stop editing" line, not the bottom of the file otherwise it won't apply them and also don't rely on the Frontpage widgets to see if it's working or not - I found some blogs took a day or 2 before the widgets started to update correctly. Searching for a plugin/theme was always a better test. 1
Trojan Posted July 11, 2014 Author Posted July 11, 2014 Thanks for this. I'll take a look at the config file on Monday. I have a feeling I have the proxy settings right at the bottom of the file.
Trojan Posted July 14, 2014 Author Posted July 14, 2014 Mixed success, the frontpage widgets work but can't search for a theme or plugin. I am about to give up on this ! It's so annoying.. bloody proxy server ..mumble grumble..
Marci Posted July 14, 2014 Posted July 14, 2014 See http://www.edugeek.net/forums/internet-related-filtering-firewall/139302-intranet-wordpress-behind-smoothwall.html Some bits are done client-side, others are done server side. 1
Cache Posted July 14, 2014 Posted July 14, 2014 Strange.... If your still having issues tomorrow I'll try and take a look at the config I've used for our internal Wordpress Networks and post it up, I did get it down to a fine art but can't remember the details. 1
Trojan Posted July 15, 2014 Author Posted July 15, 2014 Strange.... If your still having issues tomorrow I'll try and take a look at the config I've used for our internal Wordpress Networks and post it up, I did get it down to a fine art but can't remember the details. Yep, still not working. Would be great if you could post up what you have.. Thanks.
Cache Posted July 15, 2014 Posted July 15, 2014 I don't think I've done anything that you wouldn't have done, however the wp-config is attached if it helps. 1
Cache Posted July 16, 2014 Posted July 16, 2014 Spotted today, I don't have a space after the comma proxy_host and proxy_port I don't think that'll make a difference, however thinking about it there was something very particular about getting it to work. I'll keep on thinking, however it was something like that... 1
Trojan Posted July 17, 2014 Author Posted July 17, 2014 My WP-config looks the same. I'll try it without the space.. Thanks again.
Cache Posted July 17, 2014 Posted July 17, 2014 Another question, have you installed php5-curl? Just spotted it at the bottom of my notes... Sorry
Trojan Posted July 18, 2014 Author Posted July 18, 2014 Hi, no I didn't install that.. is it required ? Thanks.
siuko Posted July 18, 2014 Posted July 18, 2014 I cannot really answer related to wordpress and proxies But whenever I have setup ubuntu for squid/dansguardian behind our LA proxy I always have issues with getting wget to work. So I always set server wide proxy settings in /etc/environment See example details here Everything then seems to work fine after that!
Cache Posted July 18, 2014 Posted July 18, 2014 Yeah, I'm pretty sure Wordpress uses Curl to try and pull the files it requires. sudo apt-get install php5-curl should hopefully get you sorted.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now