Possible to change DocumentRoot

Discussion in 'Installation/Configuration' started by DruKe, May 8, 2008.

  1. DruKe

    DruKe New Member

    Is it possible to change the DocumentRoot for the vhost file?
    I read it is worthless to change it manually as it will just get over written.
    Basically, I have a website I'm moving over to our hosting and I there a lot of referential statements and it would be easier instead of re-coding the whole website to throw it into /srv/www/webXX/web/public_html/
    Is there an easy way to do this?
    :confused:
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Leave the document root as it is and make a symlink from /srv/www/webXX/web/web/ to /srv/www/webXX/web/public_html/
     

Share This Page