By default on CentOS 5 the document root for all virtual host entries is "httpdocs".
/var/www/vhosts/example.com/httpdocs
As I will be using Expression Engine and want the system files above the public root, but still inside httpdocs for organization purposes I would like to make the document root the following:
/var/www/vhosts/example.com/httpdocs/pub
I've found instructions to do just that here:
However, that mentions it works if your using apache running as CGI. I setup my server to run using suPHP using these instructions:
So my two questions are will 1, the for linked instructions work even if I am running with suphp rather than cgi (if not, are there instructions on how to do it?). Second, the suphp instructions made it so all new accounts/domains setup in Plesk GUI will now use suphp. How can I make sure all new accounts/domains created through plesk default to using /pub as the document root (other than manually doing it).
Thanks!