Configure apache to run python scripts

J

joe jacob

I need to configure apache to run python scripts. I followed the steps
mentioned in this site (http://www.thesitewizard.com/archive/
addcgitoapache.shtml). But I am not able to run python scripts from
Firefox, I got a forbidden error "you do not have permission to
access the file in the server" when I try to run the script form
Firefox browser. Somebody please help me.
 
B

Bruno Desthuilliers

joe jacob a écrit :
I need to configure apache to run python scripts. I followed the steps
mentioned in this site (http://www.thesitewizard.com/archive/
addcgitoapache.shtml). But I am not able to run python scripts from
Firefox, I got a forbidden error "you do not have permission to
access the file in the server" when I try to run the script form
Firefox browser. Somebody please help me.

http://httpd.apache.org/docs/<your_apache_version_here>/howto/cgi.html

with 'your_apache_version_here' in 1.3, 2.0, 2.2

FWIW, your problem relates to apache and permissions, not to Python.

HTH
 
J

joe jacob

joe jacob a écrit :


http://httpd.apache.org/docs/<your_apache_version_here>/howto/cgi.html

with 'your_apache_version_here' in 1.3, 2.0, 2.2

FWIW, your problem relates to apache and permissions, not to Python.

HTH

I got it right, I configured the apache incorrectly. Now I can execute
the python scripts. Thanks for the response.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,480
Members
44,900
Latest member
Nell636132

Latest Threads

Top