• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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