Open main menu

CDOT Wiki β

Changes

SRA840 Lab5

817 bytes added, 12:40, 25 March 2009
no edit summary
It would be nice to have a version of mod_python in ports that works properly with Apache 2.2.
 
 
==Varinder Singh==
 
For Apche2.0 or Apache2.2 we need to install a mod_perl3.3.1. By deafult it is not in the ports. So we have to down load the tar.tz and install from there.
 
Step how i did it.
 
1. Install the text based web browser lynx/elinks
#pkg_add -r elinks
 
2. Visit the web site http://www.modpython.org/
 
Downloaded the tar http://east.unified.net/apache/httpd/modpython/mod_python-3.3.1.tgz
 
3. tar -xvjf mod_python-3.3.1.tgz
4. cd mod_python-3.3.1
5. less README file
 
then according to instruction.
 
./configure --with-apxs=/usr/lcoal/apache/sbin/apxs
 
make
 
make isntall
 
to check weather it is installed?
 
#pkg_info | grep python
python25-2.5-2_3 An interpreted object-oriented programing language.
 
''Installtion of mod_perl2 for Apache22''
cd /usr/ports/www/mod_perl2
 
make
 
make install
1
edit