1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Change installation path to /home/httpd/vhosts

Discussion in 'Plesk for Linux - 8.x and Older' started by Jamai2, Feb 27, 2006.

  1. Jamai2

    Jamai2 Guest

    0
     
    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?
     
  2. nb__

    nb__ Guest

    0
     
    May be /usr/local/psa/bin/transvhosts.pl?
     
  3. eilko

    eilko Regular Pleskian

    28
    73%
    Joined:
    Aug 1, 2001
    Messages:
    468
    Likes Received:
    4
    Location:
    Enschede, Netherlands
    before restoring the domains change the HTTPD_VHOSTS_D variable in /etc/psa/psa.conf to the right directory
     
  4. Jamai2

    Jamai2 Guest

    0
     
    I can't find this file on the server!

    Okay I am going to try this. Wish me luck, I'll let you know in a few hours ;)
     
  5. Jamai2

    Jamai2 Guest

    0
     
    Thank you eilko, it works that way. You've saved my day!!!
     
Loading...