Created
April 24, 2017 22:55
-
-
Save kolunar/3586a459e371d328f4d766d34c82782a to your computer and use it in GitHub Desktop.
How To Set Up mod_rewrite for Apache on Ubuntu 14.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ref: https://www.digitalocean.com/community/tutorials/how-to-set-up-mod_rewrite-for-apache-on-ubuntu-14-04 | |
Ref: https://www.digitalocean.com/community/tutorials/how-to-set-up-mod_rewrite | |
sudo a2enmod rewrite | |
sudo service apache2 restart | |
sudo nano /etc/apache2/sites-enabled/000-default.conf | |
Follow the instructions from the link given above | |
and complete Step-1 to Step-3 until finish updating /etc/apache2/sites-enabled/000-joomla.conf. | |
Then do service apache2 restart. If .htaccess doesn't exist, then create one and do chmod. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment