modpython
Mod_python is an Apache module that embeds the Python interpreter within the server. http://modpython.org/
Docs http://modpython.org/live/current/doc-html/contents.html
Build from source in Slackware64 14
- su
- cd /tmp
- tar xvzf mod_python-3.5.0.tgz
- cd mod_python-3.5.0
- make clean
- make
- make install
In /usr/lib64/httpd/modules/mod_python.so
Create /etc/httpd/mod_python.conf
LoadModule python_module /usr/lib64/httpd/modules/mod_python.so
Edit /etc/httpd/httpd.conf
Include /etc/httpd/mod_python.conf
- chmod 755 /etc/rc.d/rc.httpd
- /etc/rc.d/rc.httpd start