Plesk change vhost document root

I'm running plesk reloaded on linux and I'm trying to get CakePHP (PHP version of Ruby on Rails) running on a virtual host. The only thing you need to do to get Cake running under a regular Apache install (which I have on my local mac) is to change httpd.conf's Document Root to be Cake's webroot (/cake/app/webroot) like so...

// code start

<VirtualHost *:80>
    ServerAdmin user@<domain>.com
    ServerName <domain>.com
    DocumentRoot /Library/WebServer/Documents/<domain>/cake/app/webroot
    ErrorLog /Library/WebServer/Documents/<domain>/logs/<domain>.com-error_log.log
    CustomLog /Library/WebServer/Documents/<domain>/logs/<domain>.com-access_log.log common
       <Directory /Library/WebServer/Documents/<domain>/www>
         Options Indexes ExecCGI FollowSymLinks MultiViews
         AddHandler cgi-script .cgi
         AllowOverride all
         Order allow,deny
         Allow from all

// code end

I know in Plesk that there's no httpd.conf file but rather a httpd.include file in each virtual host's conf directory with is generated by Plesk and that if you want to make any changes to your environment you create a vhost.conf file. My question is what goes in that vhost.conf file to change the document root? And how does Plesk know that it should be reading vhost.conf rather than httpd.include?

The frustrating thing is I've done something similar to change the PHP environment for one of my virtual hosts and I know you had to use something like "webservmng -vhost --something" to let it know to use the vhost.conf file. I only get my hands dirty with Apache/Unix commands about twice a year so it's like starting from scratch each time :(
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

websrvmng --reconfigure-vhost

> what goes in that vhost.conf file to change the document root?

try to use the DocumentRoot directive
DocumentRoot /path/to/your/new/root
     <Directory  /path/to/your/new/root>
         # do you really need all options?
         Options Indexes ExecCGI FollowSymLinks MultiViews
         AddHandler cgi-script .cgi
         # are you using .htaccess files? if not, set it from all to none
         AllowOverride all
         Order allow,deny
         Allow from all

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vixiomAuthor Commented:
Awesome, that worked thanks so much.

I actually had to use /usr/local/psa/admin/sbin/websrvmng -u

--reconfigure... threw an error.

Don't know why I couldn't find simple info like that on Google or the Plesk site (my hosting tech help also didn't live up to their name)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.