web2py is the first framework i actually enjoy using. :) .. been
advocating it to everyone i meet these days. I sincerely thank the
entire web2py community for everything.

I have been developing a small web2py application for intranet use at
the place where i work. During development i used windows (i carry
web2py on a thumb drive). At work we use a proxy for net access and in
windows i have no problems with web2py accessing the net using the
proxy.
I can use urllib to fetch webpages etc.

To deploy the app i am using Ubuntu. I have deployed web2py using both
apache as well as Cherokee using WSGI. The application runs fine.
however the web2py environment is not able to fetch anything from the
internet. urllib does not fetch any webpages. I have explicitly set
the http_proxy environment variable (in /etc/environment, in the
Cherokee startup script). I need to fetch data from the web, mostly
for openID authentication. I am not sure what's wrong.

how can i make web2py/python use the proxy server (http_proxy)?

Reply via email to