Httpd Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(53 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Internal=
=Internal=


* [[httpd#httpd_Configuration]]
* [[httpd#Subjects|httpd Subjects]]


=Overview=
=Overview=


The default configuration file, for a standard installation, is <tt>/etc/httpd/conf/httpd.conf</tt>
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 [[#The_.22default.22_.28or_.22main.22.29_Server_Configuration|"default" (or "main") Server configuration]] and [[#Virtual_Host_Configuration|"Virtual Host" configurations]].


[[Image:httpd_Configuration_Overview.png]]
=Subjects=
=Subjects=


* [[httpd Convenience Aliases]]
* [[httpd Virtual Host Configuration]]
* [[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=
<font color=red>TODO Continue here: https://home.feodorov.com:9443/wiki/Wiki.jsp?page=HttpdConfiguration</font>
==The Global Environment Configuration==
* [[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 KeepAliveTimeout|KeepAliveTimeout]]
* [[httpd MaxKeepAliveRequests|MaxKeepAliveRequests]]
* [[httpd Timeout|Timeout]]
==The "default" (or "main") Server Configuration==
==Virtual Host Configuration==
{{Internal|Httpd Virtual Host Configuration|Httpd Virtual Host Configuration}}
==Specialized Configuration==
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
:[[httpd mod_proxy Configuration|mod_proxy Configuration]]
</blockquote>


=Directives=
=Directives=


* Quick Reference: https://httpd.apache.org/docs/2.4/mod/quickreference.html
* [[httpd ServerAdmin|ServerAdmin]]
* [[httpd ServerAdmin|ServerAdmin]]
* [[httpd ServerName|ServerName]]
* [[httpd DocumentRoot|DocumentRoot]]
* [[httpd DocumentRoot|DocumentRoot]]
* [[httpd ErrorLog|ErrorLog]]
* [[httpd LogLevel|LogLevel]]
* [[httpd IncludeOptional|IncludeOptional]]
* [[httpd VirtualHost|VirtualHost]]
* [[httpd Listen|Listen]]
* [[httpd SetHandler|SetHandler]]
* [[httpd Directory|Directory]]
* [[httpd Require|Require]]
* [[httpd Location|Location]]
* [[httpd ExtendedStatus|ExtendedStatus]]
=Discrete Configuration Elements=
==Listen==
Specify the interface the server listens on:
<pre>
Listen 12.34.56.78:80
</pre>
is better than:
<pre>
Listen 80
</pre>

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