Need to change ISPconfig base directory for document root of all users during install

I appologize if this has already been covered in other threads, but I googled and searched the forums to no avail, so here goes!

I am about to install ISPConfig 3, went through the howtoforge tutorial, and am at the point where i am running php -q install.php

What i want to know is, how do i specify where the document root will be for all users?

I know it defaults to /var/www/..... but i do not want it to go there, instead i want it in /home/www/....

The reason is i have already carved up /home as a separate file system outside of the primary root volume and /var is inside the root volume (/var/log is also a tertiary file system on a separate LV itself).

I know it defaults to /var/www/..... but i do not want it to go there, instead i want it in /home/www/....

Click to expand...

Thats a bad idea to change this path as it will cause suexec to stop working, so you will not be able to fully use your websites afterwards. The suxec path is compiled into the apache binaries of the linux distribution, so it makes no sense to change that in ispconfiga s it woll break your system.

The reason is i have already carved up /home as a separate file system outside of the primary root volume and /var is inside the root volume (/var/log is also a tertiary file system on a separate LV itself).

Click to expand...

The solution for this is a bit different and not a change of the path. Instead you mount the path /home/www as /var/www with mount bind in /etc/fstab.

Thats a bad idea to change this path as it will cause suexec to stop working, so you will not be able to fully use your websites afterwards. The suxec path is compiled into the apache binaries of the linux distribution, so it makes no sense to change that in ispconfiga s it woll break your system.

The solution for this is a bit different and not a change of the path. Instead you mount the path /home/www as /var/www with mount bind in /etc/fstab.

Click to expand...

Thanks a lot! That really solved me a lot of issues and configurations.

I have all my Ubuntu Server 14.04 data in a RAID1 array, so simply associating the paths in fstab it worked just right. Even I hadn't to configute my apps (redmine, mysql data folder, etc) because I mounted the data folders pointing to the array volume path! great solution and very efficient!