Skip to content

Instantly share code, notes, and snippets.

@as3eem
Created October 5, 2017 06:17
Show Gist options
  • Save as3eem/bb7a71accc40cdd61e7688d4c6833451 to your computer and use it in GitHub Desktop.
Save as3eem/bb7a71accc40cdd61e7688d4c6833451 to your computer and use it in GitHub Desktop.
switch on mod_rewrite engine
>>> sudo a2enmod rewrite
restart apache
>>>> sudo service apache2 restart
now open and edit /etc/apache2/apache2.conf
all directory tags must look like this
<Directory />
Options FollowSymLinks
AllowOverride All
Require all denied
</Directory>
<Directory /usr/share>
AllowOverride All
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment