View Single Post
Old 08-23-2012, 05:30 PM   #1
Junior Member
 
Join Date: Aug 2012
Posts: 5
mtudor is on a distinguished road
Default Altering the auto DocumentRoot

Hi all,

I'm trying to achieve something with ISPManager and I wonder if any of you could help.

By default, ISPManager sets a DocumentRoot of ~/www/domain.com/.

I can override this for every domain I create, but I'd prefer to be able to alter the default, such that the DocumentRoot is set to ~/www/domain.com/public/.

That way, it's much easier when I have a user account with multiple domains to have a structure like:
~/www/domain.com
-> /public/
-> /application/
-> /data/

...and so on, whilst keeping the public directory as the only publicly accessible location.

Any way to achieve this and change the default auto DocumentRoot?

Thanks,

Mark.
mtudor is offline   Reply With Quote