I am facing a error after changing the AllowOveride
to ALL
and then i get internal server Error.
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Can someone please Help me out from this Situation. I have .htaccess file in the /var/www/html/projecroot folder and having issue with Internal Navgation of project.
thanks.
i have solved my error and i had issue with my .htaccess file and the Mod Filter Provider syntax has changed in the Apache version2.4 and my .htaccess file had the Filter provider from apache version 2.2.
solution
AllowOverride all
enable the rewrite mode apache and then restart the apache 2 .
The
AllowOverride All
directive enable.htaccess
So that mean you got an syntax error in your .htaccess, when AllowOverride is not activated the error is not triggered as .htaccess is not read.
I was having the same problem, I tried serveral solutions but no hope. Till I found that I need to enable apache header, here is the command I used
This fixed my issue.
In my case, the problem appears to be on .htaccess file, wich was trying to use GZIP, but it seams my server didin't had it.
So there was no place saying my httpd.conf was missing GZIP library (that line was commented). I just remove the coment and we were ready to go.
To people who pass through same situation, full explanation here