• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Unable to publish site

C

cherif

Guest
Hi,
I installed Sitebuilder under Kubuntu 6.06 with all the available modules and templates, but when I want to publish a site localy via XCopy I get the following Error Message :

The site cannot be published to the specified location.
Cannot connect to the host via XCopy or do not have permissions for writing.

I specified /WebDesign/ in the Working Directory field

and

I specified http://localhost/apache2-default/WebDesign/ in
the Web site URL field

Before that I added the following host :
http://localhost/apache2-default/


Also I checked write permissions on the /var/www/apache2-default directory, so what's wrong :confused:

P.S I am running Sitebuilder with port number 8080 (http://localhost:8080/)
 
Also I checked write permissions on the /var/www/apache2-default directory, so what's wrong
This directory should be writable by the apache user (i.e. the one apache is running under).
 
Originally posted by caustic
Also I checked write permissions on the /var/www/apache2-default directory, so what's wrong
This directory should be writable by the apache user (i.e. the one apache is running under).

Thanks for the answer, but it's already the case :(
 
This time I created a folder named WebDesign under /opt/sitebuilder/ with the correct write permissions.
But nothing is copied to the folder and this time I get the following Error Message :

The site cannot be published to the specified location.
Cannot connect to the specified site URL.

I added the following host : http://localhsot:8080/

I specified /opt/sitebuilder/WebDesign in the Working Directory field

I specified http://localhost:8080/WebDesign/ in the Web site URL field

Any idea :confused:
 
I specified http://localhost:8080/WebDesign/ in the Web site URL field
have you also setup apache to listen on 8080? You should use a config like this one:
Code:
Listen 8080

<VirtualHost *:8080>
DocumentRoot /opt/sitebuilder
ServerName sitebuilder-publish
AddHandler application/x-httpd-php5 .php
ScriptAlias /bin /usr/bin
Action application/x-httpd-php5 /bin/php5-cgi

<Directory /opt/sitebuilder/WebDesign>
 Options +ExecCGI 
</Directory>
</VirtualHost>
 
I added the following code to the Suitebuilder Apache config file :

<Directory /opt/sitebuilder/WebDesign>
Options +ExecCGI
</Directory>
</VirtualHost>


But I get always the same Error Message :mad:
 
Back
Top