Solved

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

Posted on 2014-12-05
6
130 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

 
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

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

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

New Relic: Our company recently started researching several products to figure out what were the best ways for us to increase our web page speed and to quickly identify performance problems that we may be having. One of the products we evaluated wa…
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 …
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
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.

705 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