Invalid Command 'Rewriteengine'

Source URL: https://stackoverflow.com/a/10144709/13384755

Language: shell

Created on: 2020-12-09 22:47:54

a2enmod rewrite
systemctl restart apache2
I have this error when trying to browse php files locally [Fri Apr 13 19:16:40 2012] [alert] [client 127.0.0.1] C:/AppServ/www/hr-website/.htaccess: Invalid command 'RewriteEngine', perhaps misspe...
content_copy