Installing mod_python on Apache

Now for todays post.

Installing mod python and apache.


#wget http://apache.mirror99.com/httpd/modpython/mod_python-3.2.10.tgz
#tar xvfz mod_python-3.2.10.tgz
#cd mod_python-3.2.10
#ls -al
#./configure

I get an error at this stage saying apxs or apxs2 not found. So basically its looking for httpd-devel packages.

Just did


#yum install httpd-devel

and I was able to build it successfully.


#./configure
#make
#make install

it put mod_python.so in


/usr/lib/httpd/modules

The next step would be to configure Django with Apache.

By: gavi on: