Document root for IP vhost

Discussion in 'Installation/Configuration' started by karmacop, Jan 18, 2006.

  1. karmacop

    karmacop New Member

    Hi

    For some reason, the document root for the vhost which handles requests to the IP of the computer is pointing to the wrong place. The doc root is

    /var/www/sharedip/

    but it should be

    /home/www/sharedip/

    The document roots for all the other vhosts are fine.

    I can change this manually, but ISP config always sets it back, does anyone know where the configuration is stored for this setting?

    Regards

    Karmacop
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The docroot for the sharedip site is hardcoded. If you want to change it, you must alter the file /root/ispconfig/scripts/lib/config.lib.php

    Just search for the string /var/www/sharedip/ inside and replace it with /home/www/sharedip/
     
  3. karmacop

    karmacop New Member

    Thanks

    Thanks, seems to have done the trick :)
     

Share This Page