quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sterling Hughes <sterl...@bumblebury.com>
Subject Re: Python Server Pages
Date Sat, 05 Apr 2003 08:15:24 GMT
Ok, the two are now somewhat integrated..  I've attached a patch, and a
set of files that accompany it, showing the functionality working
together.  It turns out python's exec works fine on code objects
(cool!), so the handler works perfectly.

The Apache Handler to enable this is:

<Directory /data/www/modpsp/htdocs/>
    AddHandler python-program .psp
    PythonHandler mptest
    PythonDebug On

Once you have it installed, copy mptest.py and tst1.psp to the
appropriate directory, and try out tst1.psp.


View raw message