• 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

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