[Tutor] Apache, CGI-BIN, Python

Eric Walstad eric at ericwalstad.com
Tue Sep 11 19:51:36 CEST 2007


Ryan wrote:
> Jan Erik Moström wrote:
>> Ryan <silas428 at gmail.com> 07-09-10 15:35
>>
>>> Once I edit the config files for cgi scripts the browser says I don't 
>>> have permission to access the file.
>> You must make sure that the script file has execute/read permissions 
>> for the process/user who runs the apache server. On my ubuntu machine 
>> that is 'www-data'
>>
>>                 jem
> I found the lines with 'www-data' but I am not sure what exactly I have 
> to do. I have User and Group-www-data.


Hi Ryan,

Have you RTFM?  Googled for something like "apache file permission", etc?

http://httpd.apache.org/docs/2.0/
http://httpd.apache.org/docs/2.0/howto/cgi.html
http://www.google.com/search?q=apache+cgi+file+permission
http://catb.org/~esr/faqs/smart-questions.html#before

Eric.


More information about the Tutor mailing list