run python script as CGI

Vinicius Franco do Nascimento vinicius.nascimento at
Fri Jun 3 17:49:28 UTC 2005


I'm using Ubuntu 5.04 Hoary and i need run python script in my web server.
Apache 2 and mod_python (last version).

I need run scripts in my server. I attached file for example.

my /etc/achpe2/httpd.conf is:

LoadModule python_module modules/
<Directory /var/www/webapp>

        AddHandler mod_python .py
        PythonHandler mod_python.cgihandler
        PythonDebug On


can u help me?
Vinícius Franco do Nascimento
vinicius.nascimento at
-------------- next part --------------
A non-text attachment was scrubbed...
Type: text/x-python
Size: 929 bytes
Desc: not available
URL: <>

More information about the ubuntu-users mailing list