Emlyn Jones
emlynj at gmail.com
Tue Jan 10 08:06:57 EST 2006
Hello, I'm not convinced that this is a specific mod_python problem but I'm not sure exactly how to explain it in generic terms so hopefully someone here can point me in the right direction. I have a python script which calls urllib2.urlopen to open a url on a remote server (google). It works fine from the command line but when I run it from a mod_python.psp page I get: HTTPError: HTTP Error 403: Forbidden Clearly this is something to do with the permissions of the apache user vs my shell user but what is the safest way to allow this script to run? Regards, Emlyn. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20060110/f3b2074b/attachment.html
|