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

Is httpd.conf the name of the configuration file for older apache versions? Are there certain directives you are expected to use in one as opposed to the other?

I'm learning how to password protect directories and noticed that including the appropriate directives in either httpd.conf or apache2.conf get the job done just the same. However seems to only mention to include password protection directives in httpd.conf.

share|improve this question
up vote 10 down vote accepted

I believe you're refering to Ubuntu or Debian since they usually use this syntax of configuration files. If you look at the bottom part of apache2.conf you will see that it includes httpd.conf. You can read Ubuntu's explanation of what the files are meant to do at this URL:

share|improve this answer
+1, so you don't have diabolic repo anymore ;-) – Michał Šrajer Jan 8 '12 at 0:28
hahaha, I kindof liked it. ;) But thank you! – Mattias Ahnberg Jan 8 '12 at 0:32

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.