<?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>restart apache web server &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="https://lifelinux.com/tag/restart-apache-web-server/feed/" rel="self" type="application/rss+xml" />
	<link>https://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Fri, 30 Dec 2011 16:57:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.3</generator>
	<item>
		<title>Linux Start / Stop / Restart Apache Server</title>
		<link>https://lifelinux.com/linux-start-stop-restart-apache-server/</link>
					<comments>https://lifelinux.com/linux-start-stop-restart-apache-server/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Fri, 30 Dec 2011 16:51:21 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[/etc/init.d/httpd]]></category>
		<category><![CDATA[apache httpd server]]></category>
		<category><![CDATA[configuration error]]></category>
		<category><![CDATA[fedora linux]]></category>
		<category><![CDATA[restart apache web server]]></category>
		<category><![CDATA[restart httpd]]></category>
		<category><![CDATA[server service]]></category>
		<category><![CDATA[service command]]></category>
		<category><![CDATA[stop apache web server]]></category>
		<category><![CDATA[stop httpd]]></category>
		<category><![CDATA[syntax check]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1282</guid>

					<description><![CDATA[<p>I&#8217;m using Apache server in CentOS / RHEL / Debian / Ubuntu and I&#8217;d like to start, stop or restart my apache server after making some changes to configuration settings. How do I start/stop/restart apache server ? CentOS / RHEL If you are using CentOS / RHEL then type the following commands Start Apache server [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/linux-start-stop-restart-apache-server/">Linux Start / Stop / Restart Apache Server</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>I&#8217;m using Apache server in CentOS / RHEL / Debian / Ubuntu and I&#8217;d like to start, stop or restart my apache server after making some changes to configuration settings. How do I start/stop/restart apache server ?<span id="more-1282"></span></p>
<h2>CentOS / RHEL</h2>
<p>If you are using CentOS / RHEL then type the following commands</p>
<p><strong>Start Apache server</strong></p>
<pre>
# service httpd start
</pre>
<p><strong>Stop Apache server</strong></p>
<pre>
# service httpd stop
</pre>
<p><strong>Restart Apache server</strong></p>
<pre>
# service httpd start
</pre>
<p>You can also use following commands:</p>
<pre>
# /etc/init.d/httpd start
# /etc/init.d/httpd stop
# /etc/init.d/httpd restart
</pre>
<p>Please note that restart option is a shorthand way of stopping and then starting the Apache Server. You need to restart server whenever you make changes to configuration settings. It is also good idea to check configuration error before typing restart option:</p>
<pre>
# httpd -t
</pre>
<p>Sample outputs</p>
<pre>
Syntax OK
</pre>
<h2>Debian / Ubuntu</h2>
<p>If you are using Debian / Ubuntu then type the following commands</p>
<p><strong>Start Apache server</strong></p>
<pre>
# service apache2 start
</pre>
<p><strong>Stop Apache server</strong></p>
<pre>
# service apache2 stop
</pre>
<p><strong>Restart Apache server</strong></p>
<pre>
# service apache2 start
</pre>
<p>You can also use following commands:</p>
<pre>
# /etc/init.d/apache2 start
# /etc/init.d/apache2 stop
# /etc/init.d/apache2 restart
</pre>
<g:plusone href="https://lifelinux.com/linux-start-stop-restart-apache-server/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/linux-start-stop-restart-apache-server/">Linux Start / Stop / Restart Apache Server</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/linux-start-stop-restart-apache-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Limit File Upload Size On Apache</title>
		<link>https://lifelinux.com/how-to-limit-file-upload-size-on-apache/</link>
					<comments>https://lifelinux.com/how-to-limit-file-upload-size-on-apache/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Tue, 24 May 2011 09:25:56 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[apache .htaccess]]></category>
		<category><![CDATA[apache 2]]></category>
		<category><![CDATA[configuration options]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[Limiting Upload Size]]></category>
		<category><![CDATA[LimitRequestBody]]></category>
		<category><![CDATA[request body]]></category>
		<category><![CDATA[restart apache web server]]></category>
		<category><![CDATA[uploads]]></category>
		<category><![CDATA[virtual host]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=748</guid>

					<description><![CDATA[<p>To limit the total size of the HTTP request body sent from the client use LimitRequestBody Directive. The LimitRequestBody directive allows the user to set a limit on the allowed size of an HTTP request message body within the context in which the directive is given (server, per-directory, per-file or per-location). If the client request [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-limit-file-upload-size-on-apache/">How To Limit File Upload Size On Apache</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>To limit the total size of the HTTP request body sent from the client use <strong>LimitRequestBody</strong> Directive.<br />
<span id="more-748"></span><br />
The <strong>LimitRequestBody</strong> directive allows the user to set a limit on the allowed size of an HTTP request message body within the context in which the directive is given (server, per-directory, per-file or per-location). If the client request exceeds that limit, the server will return an error response instead of servicing the request. The size of a normal request message body will vary greatly depending on the nature of the resource and the methods allowed on that resource. CGI scripts typically use the message body for passing form information to the server. Implementations of the PUT method will require a value at least as large as any representation that the server wishes to accept for that resource.</p>
<p>This directive gives the server administrator greater control over abnormal client request behavior, which may be useful for avoiding some forms of denial-of-service attacks.</p>
<p>This directive specifies the number of bytes from 0 (meaning unlimited) to 2147483647 (2GB) that are allowed in a request body.</p>
<p>For example,if we want to limit upload size to 100k for  /var/www/html/uploads, we need to add below commands to .htaccess or httpd.conf.</p>
<pre>
&lt;Directory "/var/www/html/uploads"&gt;
    LimitRequestBody 102400
&lt;/Directory&gt;
</pre>
<p>Finally, restart apache ( if added to httpd.conf ), type the following command as root</p>
<pre>
# /etc/init.d/httpd graceful
</pre>
<g:plusone href="https://lifelinux.com/how-to-limit-file-upload-size-on-apache/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-limit-file-upload-size-on-apache/">How To Limit File Upload Size On Apache</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/how-to-limit-file-upload-size-on-apache/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
