<?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>Speed Zone Roping &#187; Apache</title>
	<atom:link href="http://www.speedzoneroping.com/category/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.speedzoneroping.com</link>
	<description>Because our users Love PLESK, and i hate it</description>
	<lastBuildDate>Mon, 09 May 2011 13:06:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Apache config with PLESK and Linux</title>
		<link>http://www.speedzoneroping.com/2010/07/10/apache-config-with-plesk-and-linux/</link>
		<comments>http://www.speedzoneroping.com/2010/07/10/apache-config-with-plesk-and-linux/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 16:54:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Plesk Linux CentOS 5]]></category>

		<guid isPermaLink="false">http://www.speedzoneroping.com/?p=132</guid>
		<description><![CDATA[The configuration files of Apache web server are overwritten by PLESK whenever a domain is added, a domain is deleted, a subdomain is added, or whenever needed, All the Apache config files related or unrelated are overwritten, so if you plan to Modify a domain or subdomain&#8217;s config, Plesk gives you the chance to do [...]]]></description>
			<content:encoded><![CDATA[<p>The configuration files of Apache web server are overwritten by PLESK whenever a domain is added, a domain is deleted, a subdomain is added, or whenever needed, All the Apache config files related or unrelated are overwritten, so if you plan to Modify a domain or subdomain&#8217;s config, Plesk gives you the chance to do so by creating a new file and adding the settings to it.</p>
<p>The file you create is not overwritten and is loaded with all the other config files</p>
<p>So</p>
<p>DO NOT edit <strong><tt>/home/httpd/vhosts/&lt;domain-name&gt;/conf/httpd.include because this file is overwritten whenever Plesk changes something about apache's config, Rather create the file </tt></strong>vhost.conf and/or vhost_ssl.conf with necessary directives in the  directory /home/httpd/vhosts/&lt;domain-name&gt;/conf/</p>
<p>For security reasons, only root can create the vhost.conf and  vhost_ssl.conf files.</p>
<p>For the changes to take effect, you need to run the following:</p>
<p><strong><tt>/usr/local/psa/admin/sbin/websrvmng  --reconfigure-vhost --vhost-name=&lt;domain_name&gt;</tt></strong></p>
<p><strong>The line above tells plesk to add the includes directive into the website&#8217;s configuration file, Plesk will probe for the file&#8217;s existence before including it.<br />
</strong></p>
<p><strong>For sub domains, the file that needs to be created is in </strong></p>
<p><em>/var/www/vhosts/domain.com/subdomains/&lt;subdomain-name&gt;/conf/vhost.conf</em></p>
<p><em>Rules for the domain also apply to the subdomain, But this is particularly useful since plesk allows disabling safe mode for the domain, but not directly for the sub domain, to see how you can disable safe mode for a sub domain <a title="Safe mode for subdomains with plesk" href="http://www.speedzoneroping.com/2010/07/10/plesk-subdomain-safe-mode/">see here</a>.<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.speedzoneroping.com/2010/07/10/apache-config-with-plesk-and-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

