Skip to content

Instantly share code, notes, and snippets.

@kolunar
Created April 24, 2017 22:55
Show Gist options
  • Save kolunar/3586a459e371d328f4d766d34c82782a to your computer and use it in GitHub Desktop.
Save kolunar/3586a459e371d328f4d766d34c82782a to your computer and use it in GitHub Desktop.
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-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