First you need to have access to the ssh command line terminal (using plesk linux its under virtuoso)
If you are not using ssl access you can skip steps 6 and 7
1. Place your core just above your httpdocs:
/var/www/vhosts/mydomain/core
2. CHOWN the directory to username:psaserv
username is the username set up for the virtual host and psaserv is the Apache group set up by Plesk
3. Set the permissions for core as normal (777)
4. create the file in /var/www/vhosts/mydomain/conf/vhost.conf
This is where you can put any of your own Apache config options.
5. Add the following lines:
<Directory /var/www/vhosts/mydomain/httpdocs/>
php_admin_value open_basedir "/var/www/vhosts/mydomain/httpdocs:/var/www/vhosts/mydomain/core"
</Directory>
6. create the file in /var/www/vhosts/mydomain/conf/vhost_ssl.conf
This is where you can put any of your own SSL Apache config options.
7. Add the following lines:
<Directory /var/www/vhosts/mydomain/httpsdocs/>
php_admin_value open_basedir "/var/www/vhosts/mydomain/httpsdocs:/var/www/vhosts/mydomain/core"
</Directory>
8. When you've saved that you need to instruct Plesk to update the httpd.include file
/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=mydomain
And I thought it worked, but not finally, it bursts....
I am looking at some plesk9.5 expertise to solve it....
If you have any idea, you are welcome to help.
Have fun with modx
Philippe
[ed. note: Fildefer57 last edited this post 12 years, 6 months ago.]