Apache: set AllowOverride for directory

Trabla: Apache: set AllowOverride for directory

Apache Version: 2.0

Solving:

1. Go to  /etc/apache2/conf.d/

2. Open file security
sudo pico security

3. Add definition

<Directory /var/www/mydirectory/>
AllowOverride All
</Directory>


4. Save file and restart apache
sudo service apache2 restart

No comments:

Post a Comment