latpanel

Well-Known Member
Jan 23, 2004
134
0
166
In my server I have a "main domain" which docroot is /home/user/public_html/htdocs
Each subdomains is allocated in /home/user/public_html/subdomains. That is;

subdom1 is in /home/user/public_html/subdom1
subdom1 is in /home/user/public_html/subdom2
subdom1 is in /home/user/public_html/subdom3

and so.

In this installation http://www.mainserver.com points to /home/user/public_html/htdocs
And http://subdom1.mainserver.com points to /home/user/public_html/subdom1
And http://subdom2.mainserver.com points to /home/user/public_html/subdom2
And http://subdom3.mainserver.com points to /home/user/public_html/subdom3

So there is no http://www.mainserver.com/subdom1 and so.

It's all OK, but when I install phpBB or osCommerce or any other program with cPanel installer, the script copies files in /home/user/public_html/ and not in main directory (/home/user/public_html/maindir).

Ah, in http.conf DocumenRoot is set to /home/user/public_html/htdocs, and there are a first virtualserver defined with this docroot and www.mainserver.com as server name.

Is there any way to install addons modules in the proper directory?

Thanks