2011/5/8 Rajat Khandelwal <[email protected]> > Hi > > the following code > > * import urllib > > urllib.urlopen("http://wordsmith.org/words/today.html"<http://wordsmith.org/words/today.html> > ) > _.read() > * > > yields the output : > > > *<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> > <html><head> > <title>404 Not Found</title> > </head><body> > <h1>Not Found</h1> > <p>The requested URL /words/today.html was not found on this server.</p> > <hr> > <address>Apache/2.2.14 (Ubuntu) PHP/5.3.2-1ubuntu4.7 with Suhosin-Patch > mod_ssl/2.2.14 OpenSSL/0.9.8k Server at wordsmith.org Port 80</address> > </body></html> > > > * > > but when I open the page http://wordsmith.org/words/today.html in the > browser, the page is different. My http_proxy environment variable is also > set. So what could be the reason behind this? >
I already asked the same question like how to set up proxy in terminal to admin of the iitd. I can not do httrack , easy_install, gem install, etc even though I set the http_proxy environment variable in my terminal. They didnt help me. In most of the forums says, environment will solve this problems. But I dont know where is the problem. If any body knows this solution, please post here. Thanks. -- Regards, Arulalan.T Project Associate Centre for Atmospheric Sciences Indian Institute of Technology Delhi My Experiments In Gnu/Linux ! : http://tuxcoder.wordpress.com Kanchi Linux User Group Rocks ! : http://kanchilug.wordpress.com -- LUG@IITD - http://lug-iitd.org/Footer
