<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>httpd.conf &#8211; Best DevOps</title>
	<atom:link href="https://www.bestdevops.com/tag/httpd-conf/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.bestdevops.com</link>
	<description>Lets Learn, Do it &#38; Share! Thats a Best DevOps!!!</description>
	<lastBuildDate>Fri, 20 Aug 2021 10:12:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>
	<item>
		<title>Basic Apache Configuration</title>
		<link>https://www.bestdevops.com/basic-apache-configuration/</link>
		
		<dc:creator><![CDATA[pradeep]]></dc:creator>
		<pubDate>Fri, 20 Aug 2021 10:12:34 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[httpd.conf]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=19495</guid>

					<description><![CDATA[Apache&#8217;s Modular Architecture corepreforkhttp_coremod_soLoadModuledirectives mod_aliasmod_mimemod_proxymod_rewritemod_status The core executable others … The directory Apache The httpd package we installed includes the [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Apache&#8217;s Modular Architecture</h2>



<figure class="wp-block-table"><table><tbody><tr><td>core<br>prefork<br>http_core<br>mod_so<br>LoadModule<br>directives</td><td>mod_alias<br>mod_mime<br>mod_proxy<br>mod_rewrite<br>mod_status<br></td></tr><tr><td>The core executable</td><td>others …</td></tr></tbody></table></figure>



<h3 class="wp-block-heading"><br>The directory Apache </h3>


<pre class="wp-block-code"><span><code class="hljs">/usr/lib64/httpd/modules</code></span></pre>


<h3 class="wp-block-heading">The httpd package we installed includes the config file:</h3>


<pre class="wp-block-code"><span><code class="hljs">/etc/httpd/conf/httpd.conf</code></span></pre>


<h3 class="wp-block-heading">Listening on a Port</h3>



<p class="wp-block-paragraph">You can restrict apache to listen on a specific network interface </p>



<p class="wp-block-paragraph"><strong>Listen 22</strong>.<strong>33.44.55:80</strong></p>



<h3 class="wp-block-heading">Setting the Document Root</h3>



<p class="wp-block-paragraph"><br>The DocumentRoot defines the top-level directory of the web site</p>



<figure class="wp-block-image size-full is-resized"><img fetchpriority="high" decoding="async" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-107.png" alt="" class="wp-image-19498" width="658" height="357" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-107.png 891w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-107-300x163.png 300w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-107-768x416.png 768w" sizes="(max-width: 658px) 100vw, 658px" /></figure>



<h3 class="wp-block-heading">Setting an Identity</h3>



<p class="wp-block-paragraph" id="block-8cc19c6e-ade0-4125-bc09-ae275db16722">Apache needs a user identity to run as Used to perform access control checks to the file system</p>



<h3 class="wp-block-heading">Defining Multi-Process Settings</h3>



<p class="wp-block-paragraph">To improve response times, apache manages a pool of &#8220;spare&#8221; server<br>processes<br>These numbers control the size of the pool:</p>



<figure class="wp-block-table"><table><tbody><tr><td>StartServers</td><td>8</td></tr><tr><td>MinSpareServers</td><td>5</td></tr><tr><td>MaxSpareServers</td><td>20</td></tr><tr><td>ServerLimit</td><td>256</td></tr><tr><td>MaxClients</td><td>256</td></tr></tbody></table></figure>



<h2 class="wp-block-heading">Containers</h2>



<p class="wp-block-paragraph"><strong>Container directives use XML-style opening / closing tags</strong></p>



<p class="wp-block-paragraph">Restrict the scope of the directives they contain</p>



<figure class="wp-block-image size-full"><img decoding="async" width="570" height="225" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-108.png" alt="" class="wp-image-19501" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-108.png 570w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-108-300x118.png 300w" sizes="(max-width: 570px) 100vw, 570px" /></figure>



<figure class="wp-block-image size-full is-resized"><img decoding="async" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-109.png" alt="" class="wp-image-19503" width="614" height="323" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-109.png 755w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-109-300x158.png 300w" sizes="(max-width: 614px) 100vw, 614px" /></figure>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
