Stephan
Rookie

How to install mod_rewrite ubuntu


HI everyone, I want to know that How to install mod_rewrite ubuntu.As my htaccess is not working due to mod_rewrite not installed on my ubuntu desktop.Though there are many sites I visited which have given a process to install mod_rewrite ubuntu but actually it is more like confusion , so can some one out here help me and give me a procedure of installing mod_rewrite ubuntu in my system , kindly help me with some links also it will be appreciated.
8 months ago
Respond to this discussion
Geowilkin Son | Oct 8 2011

Default LAMP installation does not include apache mod_rewrite enabled so you need to addit manually.

Here is easy way to do that. Open your terminaland enter: sudoa2enmod rewrite. Next, on first and secondsection add “All” without quotes as the example below: <Directory /> OptionsFollowSymLinks. AllowOverride </Directory> <Directory/var/www/>Options Indexes FollowSymLinks MultiViews. AllowOverride None. Orderallow,deny. allow from all. </Directory>Save the file and restart apache: sudo /etc/init.d/apache2 restart. Thats’ it. Now apache mod_rewrite is enabled.

© 2012, Instamedia. Some rights reserved. Powered by Instapress and Instacheckin.