Re: Apache and Python and Ubuntu

2006-03-30 Thread msuemnig
Paul, thank you so much for your information and help! That was exactly the issue. I added ExecCGI and addHandler cgi-script .cgi to the sites-available/default file and bounce the service and it's working! Thanx again! -- http://mail.python.org/mailman/listinfo/python-list

Re: Apache and Python and Ubuntu

2006-03-30 Thread Paul Boddie
[EMAIL PROTECTED] wrote: > Thanx a lot for your input and advice. I went through the > documentation on httpd.apache.org/docs/2.2/howto/cgi.html and added the > following: > AddModule cgi-script .cgi .py > > Options +ExecCGI > Does Apache actually support "DIRECTORY" as opposed to "Directory"?

Re: Apache and Python and Ubuntu

2006-03-29 Thread msuemnig
Thanx a lot for your input and advice. I went through the documentation on httpd.apache.org/docs/2.2/howto/cgi.html and added the following: AddModule cgi-script .cgi .py Options +ExecCGI It now gives me a 403 forbidden. When I check the error logs, it still says that Options ExecCGI is not t

Re: Apache and Python and Ubuntu

2006-03-29 Thread Jorge Godoy
[EMAIL PROTECTED] writes: > The problem is the programs just dump the contents to the browser in > plain text. Or, in the case of the .py files, I am prompted to > download the .py file. How can I get apache to recognize that it > should execute the .cgi script? > > Is there any special thing I

Re: Apache and Python and Ubuntu

2006-03-29 Thread grahamd
[EMAIL PROTECTED] wrote: > 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 of apache. > > The problem is the programs just dump the contents to th

Apache and Python and Ubuntu

2006-03-29 Thread msuemnig
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 of apache. The problem is the programs just dump the contents to the browser in plain text. Or, in th