<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title>Parallels knowledgebase (KB)</title>
<link>http://kb.parallels.com/</link>
<description>Parallels knowledgebase (KB)</description>
<language>en</language>
<copyright>Copyright 2008 Parallels</copyright>
<pubDate>Wed, 10 Sep 2008 00:00:00 +0600</pubDate>
<lastBuildDate>Wed, 10 Sep 2008 00:00:00 +0600</lastBuildDate>
<webMaster>rt-team@parallels.com</webMaster>

<item>
<title><![CDATA[How do I change virtual hosts location in Parallels Plesk Panel for Unix?]]></title>
<link>http://kb.parallels.com/en/1165</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">How do I change virtual hosts location in Parallels Plesk Panel for Unix?</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 1165&nbsp;</div>
					<div>Last Review: Apr,22 2009</div>
					<tr>
						<td>Author: </td>
						<td>system</td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>Daria Taranova</td>
					</tr>
					<strong>APPLIES TO:</strong>
					<div class="articleApplies">
						<ul>
							<li>Plesk 7.5.x Reloaded</li>
						</ul>
					</div>
				</div><!-- articleProperty -->
			</div></div></div></div></div><!-- frame -->

			<div class="article-internal-flag"></div>

			<div id="article-content">
				<div class="article-part">
					<h2>Resolution</h2>
					For Parallels Plesk Panel (hereafter Plesk) version v8.0 and above see the article <a href="http://kb.parallels.comhttp://kb.parallels.com/en/1186">#1186<br /></a><br />Plesk takes all storage paths from /etc/psa/psa.conf file, for virtual hosts location it would be:<br /><br /><div class="commandline"><code>~# grep VHOST /etc/psa/psa.conf<br />HTTPD_VHOSTS_D /var/www/vhosts</code></div><br />Make the following steps to change VHosts location:<br /><br />1) Stop Plesk and all services.<br /><br />2) Change HTTPD_VHOSTS_D in psa.conf, for example /var/www/vhosts -&gt; /home/httpd/vhosts. <br /><strong><br />Note:</strong> new directory name should not contain slash at the end: <strong>/home/httpd/vhosts</strong>. <br />The slash will cause problems with hosting configuration.<br /><br />3) Move vhosts to new location, for example /var/www/vhosts to /home/httpd/vhosts.<br /><br />4) Create symlink:<br /><br /><div class="commandline"><code>~# ln -s /home/httpd/vhosts /var/www/vhosts</code></div><br />It is needed because all current system users still have home directory set to old location. Secondly, old paths still remain in Frontpage configuration files and in some scripts, until they are reconfigured.<br /><br />4) Start MySQL server.<br /><br />5) Reconfigure Apache configuration with new path:<br /><br /><div class="commandline"><code>~# /usr/local/psa/admin/sbin/websrvmng -a -v</code></div><br />6) Start all other services.
				</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

			<div id="SubscriptionLink24Article" class="subscriptionLink2">
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=1165&ArticleLanguage=en&Product=&Category="><img src="http://kb.parallels.com/images/mail.png" width="15" height="15" alt="Subscription for changes to this article"></a>
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=1165&ArticleLanguage=en&Product=&Category=">Subscription for changes to this article</a>

<script type="text/javascript">

$(document).ready(function() {
	$('#SubscriptionLink24Article a').each(function(){
		$(this).click(function(event) {
			event.preventDefault();
			MainPageContentHide();
			$('#subscription').html('');
			$.get('/Stuff/Subscription', {
													'Type' : 'Article',
													'ArticleID' : '1165',
													'ArticleLanguage' : 'en',
													'Product' : '',
													'Category' : ''
												}, function(data) {
																	$('#subscription').html(data);
																	$('#subscription').show();
																	SUBbuildsubmenus_product();
																});
		});
	});
});

</script>

</div>





	</div><!-- kb -->

</div><!-- article -->


]]></description>
<author>system</author>
<guid isPermaLink="false">810 LastUpdated: 2009-04-22 13:37:28</guid>
<pubDate>2008-10-06 09:11:07</pubDate>
</item>
</channel>
</rss>



