The production server for an app has (ugh!) Plesk installed and I'm
having some trouble getting things working. Right now, I'm getting a
403 (forbidden) error when trying to browse the site. I suspect that I
haven't quite covered everything in dealing with Plesk's
DOCUMENT_ROOT, etc. Here are the changes I've made so far:

The cake install looks like so:
/var/www/vhosts/DOMAIN.com/cake/app
libs:
/var/www/vhosts/DOMAIN.com/cake/app/cake_1.2.3.8166/cake

webroot/index.php has the following:
define('CAKE_CORE_INCLUDE_PATH',
dirname(dirname(dirname(__FILE__))).DS.'cake_1.2.3.8166');

I created Plesk Apache conf file to change open_basedir

vi /var/www/vhosts/DOMAIN.com/conf/vhost.conf
<Location />
php_admin_value open_basedir "/var/www/vhosts/DOMAIN.com/cake"
</Location>

Next, I pointed DOCUMENT_ROOT to app dir:

cp -R httpdocs/plesk-stat cake/app/
mv httpdocs{,.BAK}
ln -s cake/app httpdocs

... and updated Plesk:
/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=DOMAIN.com

After restarting Apache, I'm getting the 403 I mentioned. And I don't
see anything in Apache's error log. Any ideas? Besides removing Plesk?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to