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

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-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