how to check which modules are loaded in apache
apachectl -t -D DUMP_MODULES
Ref :
http://adminuser.wordpress.com/2008/06/12/list-all-the-loaded-modules-apache/
how to enable mod_rewrite in apache2
cd /etc/apache2/mods-enabled
touch rewrite.load
gedit rewrite.load (you may use any editor to edit this file)
now paste this following line
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
/etc/init.d/apache2 restart
or
service apache2 restart
Touch command :
Change file access and modification time.
Ref :
http://www.lavluda.com/2007/07/15/how-to-enable-mod_rewrite-in-apache22-debian/
http://www.computerhope.com/unix/utouch.htm
Nice one š
http://tymonn.wordpress.com/2009/07/31/how-to-enable-mod_rewrite-in-apache2-debianubuntu/