• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

how to move from /var/www to /home/www

Micha

New Pleskian
Hi,
i realised to late, that the path to the "Webspace" is on the wrong partition.
Now i would like to move the WWW from /var/ to /home/
Is there an easy to use How-To?

I read some "How-To´s" but they end all up in 403 Errors, or APache want restart etc. (newest How-To was for Plesk 11)

Thanks a lot!

PS:
Plesk 12.0.18 Update #49
Ubuntu 14.04.2 LTS
 
# plesk bin transvhosts.pl --help

Utility to transfer vhosts content from HTTPD_VHOSTS_D directory to new place.

Usage:
--dest-dir <path> Destination path. Path to new vhosts directory.
Example: /path/to/new/vhosts.
If directory does not exist it will be created.

--correct-scripts Changes user scripts.
Old vhost path is replaced to new path in content of all files.
 
thanks alot, it works.... with some handmade corrections for PHP...
for others with the same problem: after moving the vhost i got the Messages "no input file specified".
I changed with Plesk the PHP Settings from fastcgi to cgi and back.

The other way, for more Webspaces, you must edit the "OpenBasedir Settings".
 
Back
Top