• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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