471,328 Members | 1,841 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,328 software developers and data experts.

Configure apache to run python scripts

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.

Jul 23 '07 #1
2 2977
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
Jul 23 '07 #2
On Jul 23, 4:42 pm, Bruno Desthuilliers <bruno.
42.desthuilli...@wtf.websiteburo.oops.comwrote:
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
I got it right, I configured the apache incorrectly. Now I can execute
the python scripts. Thanks for the response.

Jul 23 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Rolfe | last post: by
7 posts views Thread by Lad | last post: by
reply views Thread by Christopher De Vries | last post: by
reply views Thread by Markus Wollny | last post: by
5 posts views Thread by msuemnig | last post: by
1 post views Thread by kodaliece | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.