Created
October 5, 2017 06:17
-
-
Save as3eem/bb7a71accc40cdd61e7688d4c6833451 to your computer and use it in GitHub Desktop.
This file contains 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
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