How to enable mod_rewrite in Ubuntu 14.04 LTS?

Follow the below steps:

- sudo a2enmod rewrite
- sudo service apache2 restart
- sudo gedit /etc/apache2/site-available/000-default.conf

Now copy and paste this code to above file:

    <Directory "/var/www/html">
        AllowOverride All
    </Directory>

- sudo service apache2 restart

Comments

Popular posts from this blog