apache: mod_rewrite not affecting my directory

 

The .htaccess on my local directory is not being considered. if this is the case go to:

 

go to /etc/apache2/apache2.conf and change this

from

<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride none
Require all granted

to

<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted

Leave a Reply

Your email address will not be published. Required fields are marked *