how to compile mod_rewrite from source


download the apache 2.XX file frm source
 
untar the package
 
cd /apache 2.xx
 
./configure --prefix=/usr/local/apache2 --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --enable-mods-shared='rewrite ssl' --enable-ssl --with-ssl
 
make && make install
 
in httpd.conf remove the # in forn to LoadModules

LoadModule ssl_module modules/mod_ssl.so
LoadModule rewrite_module modules/mod_rewrite.so
 
restart apache !!
--

No comments:

Other Articles

Enter your email address: