This is due to the default security model blocking them.
Copy to Clipboard
sudo nano /etc/apache2/apache2.conf
Look for "AllowOverride None" and change it to "AllowOverride All" Restart Apache Copy to Clipboard
sudo systemctl restart apache2
You may need to enable the rewrite extension, it is disabled by default. You can see this message in the error log: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration... Copy to Clipboard sudo a2enmod rewrite && sudo service apache2 restart
|