Apache2
Python25
Mod Python for Python25
Optional
MySQL
MySQLdb for python
Step 1#
Find the line DirectoryIndex in your apache config and add index.psp at the end
Step 2# Mod Python
Download Mod Python from http://apache.sunsite.ualberta.ca/httpd ... win/3.3.1/
Install it. It should find your Python install you may need to also give it the directory for Apache when it prompts you
Step 3# Configure Apache for Mod Python
Open up your Apache Configuration file once again and add these lines at the bottom (the very end of the file)
Code: Select all
LoadModule python_module modules/mod_python.so
AddHandler mod_python .psp .psp_
PythonHandler mod_python.psp
PythonDebug On
Enjoy