I read a lot of server error 500 questions related to the famous .htaccess file but I have still not found an answer to this error.
I have a folder which I used to test the .htaccess file.
I copied the .htaccess in the example folder and I get server error 500
my .htaccess file contains this:
<IfModule mod_expires.c> ExpiresActive on ExpiresByType image/png "access plus 1 days" </IfModule>
I have changed my httpd.conf file:
all AllowOverrride None to AllowOverride All i have also uncommented this line:
LoadModule expires_module modules/mod_expires.so
error.log says: ExpiresActive not allowed here
I still get the error 500
What is actually happening? How can I resolve this error?
PS: i am running on localhost with XAMPP