How to enable mod_rewrite in apache

how to check which modules are loaded in apache

apachectl -t -D DUMP_MODULES

Ref :

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/

/etc/init.d/apache2 restart
service apache2 restart

Touch command :

Change file access and modification time.

Ref :

Nice one šŸ™‚





About rahul23134654

Hi, I am Rahul Meha , B.E. in (I.T.)
This entry was posted in Apache. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s