.htaccess not working

Posted by Anders Feder on Super User See other posts from Super User or by Anders Feder
Published on 2011-11-25T23:35:25Z Indexed on 2011/11/26 1:55 UTC
Read the original article Hit count: 213

Filed under:
|
|

I am trying to get .htaccess to work under Apache, but the server doesn't seem to honor it.

In httpd.conf I have:

AllowOverride All

I have restarted the server with 'service httpd restart'. I have also done a 'service httpd reload'.

The docs suggest testing the configuration with a garbage .htaccess file. If the server succesfully reads the garbage .htaccess file, this should result in an error when retrieving a page from the directory. But I get no error, suggesting that the server is not parsing the file.

What might be wrong?

Thanks.

© Super User or respective owner

Related posts about apache

Related posts about centos