Httpd Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 8: Line 8:


[[Image:httpd_Configuration_Overview.png]]
[[Image:httpd_Configuration_Overview.png]]
=Subjects=
* [[httpd Convenience Aliases]]
* [[httpd Virtual Host Configuration]]
* [[httpd SSL Configuration]]
* [[httpd Logging Configuration]]
* [[httpd Redirect To Secure Content]]
* [[httpd Persistent Connection Configuration]]
* [[httpd mod_proxy Installation|mod_proxy Installation]]
* [[httpd prefork MPM Configuration]]
* [[httpd worker MPM Configuration]]


=Sections=
=Sections=
Line 16: Line 27:


* [[httpd ServerName|ServerName]]
* [[httpd ServerName|ServerName]]
* [[httpd ServerRoot|ServerRoot]]
* [[httpd User|User]]/[[httpd Group|Group]]
* [[httpd PidFile|PidFile]]
* [[httpd GracefulShutdownTimeout|GracefulShutdownTimeout]]
* [[httpd LoadModule|LoadModule]]


* [[httpd KeepAlive|KeepAlive]]
* [[httpd KeepAlive|KeepAlive]]
Line 21: Line 37:
* [[httpd MaxKeepAliveRequests|MaxKeepAliveRequests]]
* [[httpd MaxKeepAliveRequests|MaxKeepAliveRequests]]


* [[httpd ServerRoot|ServerRoot]]
* [[httpd Timeout|Timeout]]
* [[httpd PidFile|PidFile]]
* [[httpd GracefulShutdownTimeout|GracefulShutdownTimeout]]


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


==Virtual Host Configuration==
==Virtual Host Configuration==
{{Internal|Httpd Virtual Host Configuration|Httpd Virtual Host Configuration}}


==Specialized Configuration==
==Specialized Configuration==
Line 45: Line 60:
* [[httpd VirtualHost|VirtualHost]]
* [[httpd VirtualHost|VirtualHost]]
* [[httpd Listen|Listen]]
* [[httpd Listen|Listen]]
 
* [[httpd SetHandler|SetHandler]]
 
* [[httpd Directory|Directory]]
* [[httpd Directory|Directory]]
* [[httpd Require|Require]]
* [[httpd Require|Require]]
* [[httpd Location|Location]]
* [[httpd Location|Location]]
* [[httpd ExtendedStatus|ExtendedStatus]]


=Discrete Configuration Elements=
=Discrete Configuration Elements=
Line 66: Line 81:
Listen 80
Listen 80
</pre>
</pre>
=Subjects=
* [[httpd Convenience Aliases]]
* [[httpd Virtual Host Configuration]]
* [[httpd SSL Configuration]]
* [[httpd Logging Configuration]]
* [[httpd Redirect To Secure Content]]
* [[httpd Persistent Connection Configuration]]
* [[httpd Proxying and Load Balancing Configuration]]
* [[httpd prefork MPM Configuration]]
* [[httpd worker MPM Configuration]]

Latest revision as of 01:11, 18 November 2021

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

Subjects

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

Httpd Virtual Host Configuration

Specialized Configuration

mod_proxy Configuration

Directives

Discrete Configuration Elements

Listen

Specify the interface the server listens on:

Listen 12.34.56.78:80

is better than:

Listen 80