472,959 Members | 1,822 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,959 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 3080
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rolfe | last post by:
Hi, I struggled, and got mod_python running on Apache/Win2k. Follow these instructions verbatim and you shouldn't have any trouble. These instructions are based on...
0
by: Greeshma | last post by:
Hi all, I have successfully configured Apache 2.0.4 with RedHat 7.3 and use Python 2.2.3 for cgi scripts. When I start Apache manually through /usr/local/apache/bin/apachectl startssl, I can...
7
by: Lad | last post by:
How can I set up Apache web server to use Python for CGI processing( for file *.py). Thanks for help Lad
6
by: Piet | last post by:
Hi there, I cannot install mod_python v3.1.3 on either Win2k/ActivePython 2.3.2 or WinMe/Python 2.3.4. When I run the Windows installer, I get the following error message: Traceback (most recent...
0
by: Christopher De Vries | last post by:
The predominant operating system in my workplace is Solaris, with a bit of Linux and MacOS X thrown in. As such people expect to install new software with the sequence: ../configure make make...
0
by: Markus Wollny | last post by:
Hello! When I try to run ./configure --with-java, it complains that ant doesn't work. However ant is installed, as is the latest Java SDK 1.4.2 from sun, PATH and JAVA_HOME are set correctly; ...
5
by: msuemnig | last post by:
I've create an Ubuntu Linux box, which comes pre-installed with Python (I've added the libapache2-mod-python throught the app manager). I've created .cgi and .py simple programs in the www root...
3
by: poppor | last post by:
Hello! I posted below question in the "Python" forum and realized that maybe it should be in Apache forum instead ? Anyways, I appreciate any help... Thanks! /P ---------------
1
by: kodaliece | last post by:
Hi, I am new to this PHP and linux OS as well. I am trying to install to Apache 2.2.8 and PHP 5.2.5 and do some PHP coding. I've installed Apache and tested it. Its working fine. Then, I...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.