15
edits
No edit summary |
No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
Have you ever tried to run a script on Redbrick that communicates with external websites and found that it doesn't work? | Have you ever tried to run a script on Redbrick that communicates with external websites and found that it doesn't work? | ||
This might be due to the proxy being set wrong. For example on [Installing Wordpress on Redbrick|Installing Wordpress]] the proxy must be set manually in one of the files. | This might be due to the proxy being set wrong. For example on [[Installing Wordpress on Redbrick|Installing Wordpress]] the proxy must be set manually in one of the files. | ||
The proxy on Redbrick is 'http://proxy.dcu.ie:8080'. This is normally set via enviromental variables that your script can pick up. This variables are case-sensitive. | The proxy on Redbrick is 'http://proxy.dcu.ie:8080'. This is normally set via enviromental variables that your script can pick up. This variables are case-sensitive. | ||
| Line 19: | Line 19: | ||
(or both) near the top of the Python script (at least after 'import os'). | (or both) near the top of the Python script (at least after 'import os'). | ||
[[Category:HowTo]] | |||