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 http://httpd.apache.org/docs/2.1/howto/auth.html seems to only mention to include password protection directives in httpd.conf.

1 Answer 1


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:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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