View Full Version : web root
jcombs_31
22nd May 2009, 22:33
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?
BorderAmigos
22nd May 2009, 22:42
You'd have to modify the vhosts template file used to create the virtual hosts. Then your modifications would get lost on an update.
jcombs_31
22nd May 2009, 23:39
Could it be set as an apache directive under options?
No, the web root can not be set in apache directives. You should stick with the web root that ispconfig creates.
jcombs_31
26th May 2009, 15:10
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.
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.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.