Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

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

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
add comment

Your Answer

 
discard

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.