Httpd Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 5: Line 5:
=Overview=
=Overview=


The default configuration file, for a standard installation, is <tt>/etc/httpd/conf/httpd.conf</tt>. The configuration directives are grouped into three sections: the Global Environment, the "default" (or "main") Server configuration and "Virtual Host" configurations.
The default configuration file, for a standard installation, is <tt>/etc/httpd/conf/httpd.conf</tt>. The configuration directives are grouped into three sections: the [[#The_Global_Environment_Configuration|Global Environment]], the "default" (or "main") Server configuration and "Virtual Host" configurations.


[[Image:httpd_Configuration_Overview.png]]
[[Image:httpd_Configuration_Overview.png]]

Revision as of 00:55, 2 January 2017

Internal

Overview

The default configuration file, for a standard installation, is /etc/httpd/conf/httpd.conf. The configuration directives are grouped into three sections: the Global Environment, the "default" (or "main") Server configuration and "Virtual Host" configurations.

Httpd Configuration Overview.png

Sections

The Global Environment Configuration

The "default" (or "main") Server Configuration

Virtual Host Configuration

Subjects

Directives

Discrete Configuration Elements

Listen

Specify the interface the server listens on:

Listen 12.34.56.78:80

is better than:

Listen 80