Httpd Configuration: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 16: | Line 16: | ||
* [[httpd ServerName|ServerName]] | * [[httpd ServerName|ServerName]] | ||
* [[httpd ServerRoot|ServerRoot]] | |||
* [[httpd PidFile|PidFile]] | |||
* [[httpd GracefulShutdownTimeout|GracefulShutdownTimeout]] | |||
* [[httpd LoadModule|LoadModule]] | |||
* [[httpd KeepAlive|KeepAlive]] | * [[httpd KeepAlive|KeepAlive]] | ||
Line 21: | Line 25: | ||
* [[httpd MaxKeepAliveRequests|MaxKeepAliveRequests]] | * [[httpd MaxKeepAliveRequests|MaxKeepAliveRequests]] | ||
==The "default" (or "main") Server Configuration== | ==The "default" (or "main") Server Configuration== |
Revision as of 18:06, 5 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.
Sections
TODO Continue here: https://home.feodorov.com:9443/wiki/Wiki.jsp?page=HttpdConfiguration
The Global Environment Configuration
The "default" (or "main") Server Configuration
Virtual Host Configuration
Specialized Configuration
Directives
- Quick Reference: https://httpd.apache.org/docs/2.4/mod/quickreference.html
- ServerAdmin
- DocumentRoot
- ErrorLog
- LogLevel
- IncludeOptional
- VirtualHost
- Listen
Discrete Configuration Elements
Listen
Specify the interface the server listens on:
Listen 12.34.56.78:80
is better than:
Listen 80