[mod_python] mod_ython not parsing python pages.

Joe Stump joe at joestump.org
Sun Jun 10 18:33:52 EST 2001


System:
Debian GNU/Linux
Python installed via apt-get ...

I've put the following in my virtual server def ...

<Directory /python>
  AddHandler python-program .py
  PythonHandler mptest
  PythonDebug On
</Directory>


When I create mptest (according to the faq for testing) it doesn't parse, I 
just get the code. I'm loading the module without any errors in my httpd.conf
but it's just no interpreting the code.

Another question I have is can I add an application type for .py files like
you can in PHP? My server is www.miester.org and the dir is /python

Thanks!

--Joe


Joe Stump <joe at joestump.net>
------------------------------------------------------------------------
"To each his own - My own is GNU/Linux" --Joe Stump



More information about the Mod_python mailing list