- Enable rewrite module
http://stackoverflow.com/questions/869092/how-to-enable-mod-rewrite-for-apache-2-2
https://www.digitalocean.com/community/questions/how-to-active-sudo-a2enmod-rewrite-for-centos
Solution: Uncomment the mod_rewrite.so line in/etc/httpd/conf/httpd.conf
, restart apache, and you should be good to go. - Update directive in .conf (e.g. /etc/apache2/sites-available/000-default.conf)
https://help.ubuntu.com/community/EnablingUseOfApacheHtaccessFiles
123456789<Directory /var/www/html>Options Indexes FollowSymLinks MultiViewsAllowOverride AllOrder allow,denyallow from all# Uncomment this directive is you want to see apache2's# default start page (in /apache2-default) when you go to /#RedirectMatch ^/$ /apache2-default/</Directory>