• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Bug in "Customizable httpd.include per domain and subdomain"

W

worryboy

Guest
You wrote in your handbook

chapter
"Customizable httpd.include per domain and subdomain"

if any of tis files exist by the time the main configuration file is generated, Plesk inserts the ....

but
it dosent have any effect if i will overwrite an existing value

E.g

Plesk standard value
Code:
php_admin_value open_basedir "/home/httpd/vhosts/xxx.com/httpsdocs:/tmp"

the faulty is in my meaning tha plesk overwrites this values "after" inserting my specific value...

did u have any hints ?
or resolutions ?


i wll change it to

Code:
php_admin_value open_basedir none
 
Maybe you should do some reading on configuring apache :)

Try using the following definition:

Code:
<Directory /home/httpd/vhosts/<yourdomain>/httpdocs/>
  <IfModule mod_php4.c>
    php_admin_value open_basedir none
  </IfModule>
</Directory>

That should do it :)
 
Originally posted by Whistler
Maybe you should do some reading on configuring apache :)

:p

Originally posted by Whistler
Try using the following definition:

Code:
<Directory /home/httpd/vhosts/<yourdomain>/httpdocs/>
  <IfModule mod_php4.c>
    php_admin_value open_basedir none
  </IfModule>
</Directory>

That should do it :)

seems like my decision ;)

it dosent work ... trust me

greetz
 
Just delete "php_admin_value open_basedir" and restart apahce.
 
Originally posted by smtalk
Just delete "php_admin_value open_basedir" and restart apahce.

no ..
maby u missunderstood some thing

the value "php_admin_value open_basedir " ist defined by default in plesk

if i delete this in my custom conf file , the default value take effect.

if i delete this value in the original conf "httpd.include" you are right, but plesk overrides this after an action. so its no posibility ...
 
You may add "php_admin_value open_basedir none" to vhost.conf file.
This must solve your problems.
 
Sib is right. Always make a vhost.conf for the site that needs special attention/directives, works everytime, and isn't modified by PSA and overrides PSAs defaults for a specific site.
 
Dont forget to run this after you create a new vhost.conf file for a site:
# /usr/local/psa/admin/bin/websrvmng -a -v
# service httpd restart
 

Similar threads

Back
Top