<?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 to] I got errors during site publication and I think that configuration of FTP host is incorrect. How to setup FTP host correctly?]]></title>
<link>http://kb.parallels.com/en/1812</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">[How to] I got errors during site publication and I think that configuration of FTP host is incorrect. How to setup FTP host correctly?</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 1812&nbsp;</div>
					<div>Last Review: Nov,25 2009</div>
					<tr>
						<td>Author: </td>
						<td>Bezborodova Anastasiya</td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>Bezborodova Anastasiya</td>
					</tr>
					<strong>APPLIES TO:</strong>
					<div class="articleApplies">
						<ul>
							<li>Sitebuilder 3.x for Linux/Unix</li>
							<li>Sitebuilder 4.x for Linux/Unix</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>
					You may configure site's publishing settings through Parallels Plesk Sitebuilder control panel at Sites -&gt; &lt;site name&gt; -&gt; Publish Settings.<br /><br />&quot;<strong>Publishing mode</strong>&quot; is method how files are uploaded to publish host. It can be FTP, VPS, or XCOPY. For details please see article <a href="http://kb.parallels.comhttp://download1.parallels.com/SiteBuilder/4.5.0/doc/admin/en_US/html/specifying_hosts_used_for_publishing_sites.htm">specifying hosts used for publishing sites</a> in Parallels Plesk Sitebuilder Administrator&rsquo;s Guide. <br /><br />Here is example for configuration of FTP publishing:<br /><br /><span style="font-family: Courier New;">&quot;<strong>Host</strong>&quot; is IP address or hostname where files are uploaded via FTP<br />&quot;<strong>Port</strong>&quot; is post for FTP connection <br />&quot;<strong>Login</strong>&quot; is FTP login for files uploading<br />&quot;<strong>Password</strong>&quot; is password for FTP login <br />&quot;<strong>Working directory</strong>&quot; is location under FTP user's root directory where files are uploaded<br />&quot;<strong>Web site URL</strong>&quot; is URL to access the site </span><br /><br />For example:<br /><span style="font-family: Courier New;"><br />&quot;<strong>Publishing mode</strong>&quot; FTP <br />&quot;<strong>Host</strong>&quot; xxx.xxx.xxx.xxx<br />&quot;<strong>Port</strong>&quot; 21<br />&quot;<strong>Login</strong>&quot; ftp_login<br />&quot;<strong>Password</strong>&quot; ftp_password <br />&quot;<strong>Working directory</strong>&quot; /httpdocs<br />&quot;<strong>Web site URL</strong>&quot; http://domain.tld</span><br /><br />To test FTP location is set correctly login to the FTP location upload a test file to the location via FTP using login credentials specified. Check that the file is available via&nbsp; http://domain.tld/test.file.<br /><br />Also check that <strong>domain.tld</strong> is resolved to single IP address <strong>xxx.xxx.xxx.xxx</strong>:<br /><br /><span style="font-family: Courier New;">~$ host domain.tld<br />domain.tld has address xxx.xxx.xxx.xxx<br />~$</span><br /><br />&nbsp;If the domain name is resolved to several IP addresses this may cause non-permanent problems in verification of publishing location. Publishing may fail from time to time.<br /><br />Also it is recommended to verify that publishing server is configured correctly. List of requirements to publishing host you can find on our website here: <a href="http://kb.parallels.comhttp://www.parallels.com/products/plesk/sitebuilder/reqs/">http://www.parallels.com/products/plesk/sitebuilder/reqs/</a><br /><br />There is a special script which can help you to check if everything is fine with requirements: SITEBUILDER_ROOT/resources/publish/check.php. It should be run from publishing site's directory. <br /><strong>SITEBUILDER_ROOT </strong>- Sitebuilder installation directory <strong>/usr/local/sitebuilder/ </strong>or<strong> /opt/sitebuilder/</strong> on Debian/Ubuntu servers. 				<br /><br />For example, if you are trying to publish to domain <strong>domain.tld</strong> you need upload this script into site's directory and run it in browser as <strong>http://domain.tld/check.php</strong>.<br /><br />As an example, you can find correct output below:<br /><br /><span style="font-family: Courier New;">ioncube=ok phpVersion=4.4.3 mbstring=ok zlib=ok session=ok dom=ok domxml_xslt=ok sqlite=2.8.17 sqliteEncoding=UTF-8 gd_png=ok gd_gif=ok gd_jpg=ok gd_wbmp=ok gd=2.0.28 safe_mode=ok mail=ok serverApi=Apache&nbsp; Handlerfolder_permissions_data=ok</span><br />&nbsp;<br /><strong>NOTE:</strong><br />&nbsp;1. <a href="http://kb.parallels.comhttp://kb.parallels.com/en/627">Publication works with safe_mode 'on' since Parallels Plesk Sitebuilder version 4.0</a>. So if you have version 4.0 or newer you do not need to worry about <span style="font-family: Courier New;">safe_mode=failed</span> output.<br />&nbsp;2. Parameter folder_permissions_data is actual for publishing to Windows servers, so if you see that <span style="font-family: Courier New;">folder_permissions_data=fail</span>, you can ignore this output.<br />
				</div>
				<div class="article-part">
					<h2>Additional information</h2>
					Here are useful articles that describe configuration of publishing host that may prevent publishing:<br /><br /><p>- <a href="http://kb.parallels.comhttp://kb.parallels.com/en/6466">Publishing host is mounted as NFS file system.</a><br />- <a href="http://kb.parallels.comhttp://kb.parallels.com/en/5429">Apache module mod_security or PHP extension Suhosin are used on the publishing server. </a><br />- <a href="http://kb.parallels.comhttp://kb.parallels.com/en/3471">How to publish Parallels Sitebuilder for Linux/Unix sites to Parallels Panel for Windows?</a></p>
				</div>
				<div class="keywords"><strong>Keywords:</strong> publish requirement check.php</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

			<div id="SubscriptionLink24Article" class="subscriptionLink2">
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=1812&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=1812&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' : '1812',
													'ArticleLanguage' : 'en',
													'Product' : '',
													'Category' : ''
												}, function(data) {
																	$('#subscription').html(data);
																	$('#subscription').show();
																	SUBbuildsubmenus_product();
																});
		});
	});
});

</script>

</div>





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

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


]]></description>
<author>Bezborodova Anastasiya</author>
<guid isPermaLink="false">1450 LastUpdated: 2009-11-25 03:02:26</guid>
<pubDate>2007-04-23 03:11:03</pubDate>
</item>
</channel>
</rss>



