Product:
Search Type:

How to publish Sitebuilder for Linux/Unix sites to Plesk for Windows?

Article ID: 3471 
Last Review: Dec,25 2007
APPLIES TO:
  • Plesk 8.2 for Windows
  • Plesk 8.2.0 for Windows
  • Plesk 8.2.0.1 for Windows
  • Sitebuilder 4.1 for Linux/Unix

RESOLUTION

There are two ways to make publishing work:
1. Configure Plesk server properly, so all created domains in Plesk are ready for Sitebuilder for Linux/Unix sites publication.

2.
Prepair one domain in Plesk for Sitebuilder for Linux/Unix site publication.

Below you can find both solutions:

1. Full server configuration:
  a. Perform general steps which are listed in additional information section.
  b. Make changes into site's skeleton:
  Skeleton folder structure Inetpub\vhosts\.skel\0\httpdocs\ should look like:

httpdocs\
 |
 +-data\
 |
 +-index.php


where index.php empty file. This file exists before first publication. After that it will be replaced with appropriate not empty file.

  c. Correct security settings for domain:
  It is necessary to add following XML- elemets into %plesk_dir%\etc\hosting_template.xml file:

<Entry AccounType="0" Account="Null" Path="[HTTPD_VHOSTS_D]"
 SubPath="httpdocs\data"
 AceFlags="ThisFolderSubfoldersAndFiles"
 AccessMask="FullAccess"
 EntryFlags="0x140"
 Tag="PoolUser" Tag2="" />

<Entry AccounType="0" Account="Null" Path="[HTTPD_VHOSTS_D]"
 SubPath="httpdocs\data"
 AceFlags="ThisFolderSubfoldersAndFiles"
 AccessMask="FullAccess"
 EntryFlags="0x140"
 Tag="AnonymousDomainUser" Tag2="" />

 
 After applying these actions all newly created domains with physical hosting are ready for publication from Sitebuilder for Linux/Unix.

2. Per-domain changes
  a. Perform general steps which are listed in additional information section.
  b. On hosting setup page for domain enable additional write/modify permissions.
  c.
If you publish site for the first time it is suggested to publish it into empty folder, so destination folder should be cleaned up.

Additional information

Some general steps should be performed.  These actions shoul be done on Plesk for Windows server:

 1. Enable necessary extensions in client's PHP. (in Plesk 8.3 it should be enabled by default, but for Plesk 8.2 this should be done manually):

php_mbstring.dll and
php_xsl.dll in PHP5 (edit file ''%plesk_dir%\Additional\PleskPHP5\php.ini'')
php_mbstring.dll and php_xslt.dll in php_domxml.dll in PHP4 (edit file ''\windows\php.ini'')

 2. magic_quotes_gpc should be set to off in php.ini file.

 3. ionCube should be installed for all possible PHP versions on the server:

for PHP5: in ''%plesk_dir%\Additional\PleskPHP5\php.ini'' following string should be added:
zend_extension_ts = c:\ioncube\installation\folder\ioncube_loader_win_5.2.dll

for PHP4: in ''\windows\php.ini'' following string should be added:
zend_extension_ts = c:\ioncube\installation\folder\ioncube_loader_win_4.4.dll

 Appropriate ionCube libraries can be found here, for example:

http://www.ioncube.com/loaders.php
http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_win_x86.zip

 There it is also possible to find more information about ionCube installation procedure.

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields