6

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.

10

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:
https://help.ubuntu.com/11.10/serverguide/C/httpd.html

  • +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 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.