[Moin-user] mod_python and farms
Alan Ezust
alan.ezust at gmail.com
Fri Mar 17 20:51:03 EST 2006
I use mod_python with apache2.
I have a conf file thaqt looks like this:
ScriptAlias /moin /home/moin/cgi-bin/index.py
<Location /home/moin/cgi-bin>
AllowOverride All
</Location>
And then I have a .htaccess file in the cgi-bin that looks like this:
AddHandler mod_python .py
AddHandler mod_python .PY
PythonPath "['/home/moin/cgi-bin', '/home/moin/config'
+ sys.path"
PythonHandler index
PythonDebug On
More information about the Moin-user
mailing list