Post Pic

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.

Related posts:

  1. Recompilining Apache with mod python After a long struggle with getting Django working with Apache,...
  2. Installing Python 2.4.4 on Cent OS 4.4 (Final) We at ObjectGraph are moving to a dedicated hosting solution....
  3. [Python] Install PIL on Mac OSX Installing PIL in Mac OSX is a little tricky. Follow...

Related posts brought to you by Yet Another Related Posts Plugin.

Leave Your Response

* Name, Email, Comment are Required