Solved

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

Posted on 2014-12-05
6
124 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

To properly understand GitHub, let’s divide it into two words ‘Git’ and ‘Hub’. Git is basically a ‘Distribution Version Control’ (DVC) and ‘Source Code Management’ (SCM) system widely used by software programmers while Hub means the efficient centre…
Before we dive into the marketing strategies involved with creating an effective homepage, it’s crucial that EE members know what a homepage is. In essence, a homepage is the introductory, or default page, of a website that typically highlights the …
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.

831 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