• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

httpd.include

S

superguigui3

Guest
Hello,

I have a problem with the auto-generated httpd.include on my server.

the open_basedir is set to :
php_admin_value open_basedir "/var/www/vhosts/www.website.com/httpdocs:/tmp"

But i need :
php_admin_value open_basedir "/var/www/vhosts/www.website.com/httpdocs:/tmp:/www:/var"

Our websites need to access to these 2 directories.

When Plesk reload the configuration, modification made are (of course) deleted.

Where can i make these changes ?

(I've tried to make it in /var/www/vhosts/www.website.com/conf/vhost.conf but it is not working)
 
After creating the vhost.conf file did you run:

/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=<domain_name>
 
Back
Top