In directadmin when you add a new subdomain it sets the DocumentRoot as something like:
/home/user1/domains/domain.com/public_html/subdomain/
Well I've been going in and editing it by hand setting some of the DocumentRoots to:
/home/user2/public_html/
I do this because I just like to have the subdomains not accessable by www.domain.com/subdomain/ and I like to only give a person access to their home directory that was created.
So what i'm wondering is, how can I stop directadmin from changing the documentroot every time it updates the httpd.conf. I have to always go back in and fix each DocumentRoot when I add a new subdomain. It's getting a bit annoying.
Thanks
/home/user1/domains/domain.com/public_html/subdomain/
Well I've been going in and editing it by hand setting some of the DocumentRoots to:
/home/user2/public_html/
I do this because I just like to have the subdomains not accessable by www.domain.com/subdomain/ and I like to only give a person access to their home directory that was created.
So what i'm wondering is, how can I stop directadmin from changing the documentroot every time it updates the httpd.conf. I have to always go back in and fix each DocumentRoot when I add a new subdomain. It's getting a bit annoying.
Thanks