web root

Discussion in 'Installation/Configuration' started by jcombs_31, May 22, 2009.

  1. jcombs_31

    jcombs_31 New Member

    Is it possible to change the web root for a specific website? I assume manually editing the vhost could cause problems with ISPconfig? What is the best practice to do this?
     
  2. BorderAmigos

    BorderAmigos New Member

    You'd have to modify the vhosts template file used to create the virtual hosts. Then your modifications would get lost on an update.
     
  3. jcombs_31

    jcombs_31 New Member

    Could it be set as an apache directive under options?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    No, the web root can not be set in apache directives. You should stick with the web root that ispconfig creates.
     
  5. jcombs_31

    jcombs_31 New Member

    Thanks for the replies. It isn't really a big deal, but when using a framework it is a little easier to just change the document root rather than changing some routing.
     
  6. homo

    homo New Member

    You can create a symbolic link from the web root you want to the default web root that ispconfig creates :)

    ps you have to chown the files/directories under the client/user that ispconfig has created for this client/site.
     

Share This Page