• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Change installation path to /home/httpd/vhosts

J

Jamai2

Guest
I have a current server that is kinda old, with /home/httpd/vhosts as the vhosts directory.

I feel the need to replace this server and will completely replace it by migration all domains to a new, fresh webserver.

On this new webserver I will use a fresh Plesk Installation. However, due to recent changes Plesk now installs websites to /var/www/vhosts instead of /home/httpd/vhosts

I will get many problems with open_basedir if I move the sites now. Is there a way so it will work? Ofcourse, symlinking looks like a good idea but it is not because PHP will not be allowed to open /home/httpd because it is set to /var/www

Manually editing is not a good idea since I have over 800 domains on this webserver.

Anyone got a solution for this one?
 
before restoring the domains change the HTTPD_VHOSTS_D variable in /etc/psa/psa.conf to the right directory
 
Originally posted by nb__
May be /usr/local/psa/bin/transvhosts.pl?
I can't find this file on the server!

Originally posted by eilko
before restoring the domains change the HTTPD_VHOSTS_D variable in /etc/psa/psa.conf to the right directory
Okay I am going to try this. Wish me luck, I'll let you know in a few hours ;)
 
Back
Top