Solved

Apache httpd.conf file sections. How is this file divided into sections?

Posted on 2014-12-05
6
123 Views
Last Modified: 2014-12-16
How is the httpd.conf file broken up?

By looking at examples, I cannot tell where in an httpd.conf file one section starts and another starts.  I understand that the global section is different from other sections.  The global section can be the place to have some settings.  I believe there are distinct sections.  Are these sections discrete and marked in the file?

Is a container merely everything from the beginning of a word in <> to its closing tag?  Would this be a container?
<Directory>  various info </Directory>

Open in new window

?  

Is a directive an assignment?  Do Apache directives in httpd.conf files go into containers necessarily?
0
Comment
Question by:Phil Davidson
  • 3
  • 3
6 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 40484336
This page http://httpd.apache.org/docs/2.4/configuring.html describes the 'httpd.conf' file.  "httpd configuration files contain one directive per line."  Apache calls things like <Directory>  various info </Directory> sections.  And there are a lot of thing that do not go in sections like that but are individual directives that apply to the whole server or just some special function.

Apache can be a little complicated.  It would help to read through that page and then some of the links there for more info.
0
 
LVL 7

Author Comment

by:Phil Davidson
ID: 40485123
What is a container in the context of httpd.conf files?
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40485155
Never heard of that.  Where did you see that?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 7

Assisted Solution

by:Phil Davidson
Phil Davidson earned 0 total points
ID: 40495411
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40495415
Never saw that page before.  But I think you just answered your own question.
0
 
LVL 7

Author Closing Comment

by:Phil Davidson
ID: 40502252
I found a link that had the correct info.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I made this because I wanted to get e-mail with a attached csv file so I'd would be able to import user input into a MS Excel template, but I also wanted to register/save all inputs from each day in a file on the server. 1st - It creates a temp C…
The task of choosing a web design company to build a website for your business should never be taken in a light manner. Provided the fact that your website will act as a representative to your business and will be responsible for imposing an online …
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now