• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

where is vhost.conf file for web_users?

michaellunsford

Regular Pleskian
The main site's basedir restriction is different from the web_users restriction. Where is the vhost.conf file for the web_user?
 
found something

inside vhost.conf file, I can add the following -- which seems to work fine:

Code:
<Directory /home/httpd/vhosts/example.com/web_users/username>
php_admin_flag engine on
php_admin_value open_basedir /tmp/:/home/httpd/vhosts/example.com/web_users/username/:
</directory>
 
To answer your question specifically, its in the $DOMAINROOT/conf/httpd.include
 
you mean the file that says:

# ATTENTION!
# DO NOT MODIFY THIS FILE OR ANY PART OF IT. THIS CAN RESULT IN IMPROPER PLESK
# FUNCTIONING OR FAILURE, CAUSE DAMAGE AND LOSS OF DATA.

I was looking for the method by which one could change the basedir restriction. httpd.conf was it -- I just didn't know the language until I hacked on it for a few days.

Thanks anyway!
 
Back
Top