• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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
 
Back
Top