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:

http://goo.gl/1WHNf

However, that mentions it works if your using apache running as CGI. I setup my server to run using suPHP using these instructions:

http://goo.gl/pWsi2

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!

link|improve this question

17% accept rate
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.