Portal Home > Knowledgebase > Articles Database > How to check apache conf for AllowOverride?


How to check apache conf for AllowOverride?




Posted by timmy5000, 05-11-2013, 12:44 AM
On a tutorial, I'm required to do this but since I'm a newbie I don't know how and where. 2. Check apache conf for AllowOverride by default apache install you will get: change it to (AllowOverride All) : * you can replace /var/www/html to where the path of your software installed. Sorry for too many questions lately.

Posted by electronicboy, 05-11-2013, 10:10 AM
The file is usually in, /etc/apache2/conf/httpd.conf but, In distributions such as ubuntu, there is a sites-avaliable folder in the conf directory, and you would want to edit the file called "default"

Posted by khunj, 05-11-2013, 12:01 PM
You can run the following command to get the full path to your loaded configuration files: Edit them and restart your apache server.

Posted by dlucian, 05-11-2013, 03:25 PM
Checking for AllowOverride is usually done to see if you have .htaccess enabled in your directory. Whenever I feel like I have AllowOverride off, I edit the .htaccess and write some random characters in it and check the site if it fires 500 Internal Server Error.

Posted by timmy5000, 05-12-2013, 11:24 PM
I'm totally confused because my file was located at / etc/ httpd/ conf/ httpd.conf And instead of the following text I have just



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
We3Cares Rocks (Views: 632)