Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have viewed my httpd.conf and apache2.conf and I have no AllowOverride directive in either of the files.

The .htaccess works fine. I have a bunch of rewrites in it, so I know it works.

Is apache2 by default set to "AllowOverride All"?

Anybody know if I should add this? Or if it would hurt to add it?

The reason for all this is that I get a bunch of errors in my apache2 error log.


share|improve this question

migrated from Oct 30 '10 at 6:37

This question came from our site for professional and enthusiast programmers.

What are the errors you get in your log? – Cfreak Oct 29 '10 at 21:52
See this Q:… – Anonymous12345 Oct 29 '10 at 21:53
up vote 2 down vote accepted

It is not an issue of AllowOverride(yes, Apache's default is All)
It's simply a logging of the fact, that a file was'nt found, an 404-error. You should find the same entry inside the access_log.

If you don't have further problems with this logging(maybe your space is rare, so you have to avoid it), you could leave it as it is. If you don't want errors of the level "error" to be logged, you can modify the log-level inside httpd.conf. Find the line starting with LogLevel . Change the following word(maybe: warn, error, notice, info, debug) to crit ->then restart the server.

But do this only if you have good reasons, because if you do this you don't get any error-level-errors logged in the future, and there are more errors than missing files.

Regarding to the question how to add AllowOverride: you can put these directives onto httpd.conf inside every <directory/>-Section. For example:

<directory "path/to/htdocs">
#some stuff
AllowOverride None
#more stuff
share|improve this answer
So basically, if its working, I shouldn't care about those errors? Even though they are very irritating... – Anonymous12345 Oct 30 '10 at 9:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.