To enable mod rewrite module in apache run following command in terminal.
#sudo a2enmod rewrite
This command is automatically enable mod rewrite module and give you acknowledgement to restart Apache2 service. to do that use below command.
#sudo /etc/init.d/apache2 restart
or
#sudo service apache2 restart
To verify mod rewrite check phpinfo page.
Its done Enjoy !!!!!:)
#sudo a2enmod rewrite
This command is automatically enable mod rewrite module and give you acknowledgement to restart Apache2 service. to do that use below command.
#sudo /etc/init.d/apache2 restart
or
#sudo service apache2 restart
To verify mod rewrite check phpinfo page.
Its done Enjoy !!!!!:)