1
edit
Changes
→Milton Paiva Neto
*Write the steps to install mod_python and mod_perl on Apache.
*Installation- Mod_perl
#cd /usr/ports/www/mod_perl2/
And look for the line
perl_module (shared)
*Installing mod_python
Download the mod_python from the http://modpython.org website. The current version while I write this document is 3.3.1.
http://apache.mirror.rafal.ca/httpd/modpython/mod_python-3.3.1.tgz
Install the module
#tar -zxvf mod_python-3.3.1.tgz
#cd mod_python-3.3.1
#./configure –with-apxs=/usr/local/sbin/apxs --enable-threads
#make
#make install
Set up apache for mod_python integration
#vi /usr/local/etc/apache/httpd.conf
Add the line following line in the apache configuration file:
LoadModule python_module libexec/apache22/mod_python.so
Verify the installation process
To verify if the module was installed properly, type:
#/usr/local/sbin/httpd -M
And look for the line:
python_module (shared)
= Mohak Vyas =