1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

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

Discussion in 'Plesk for Linux - 8.x and Older' started by worryboy, Jan 30, 2005.

  1. worryboy

    worryboy Guest

    0
     
    You wrote in your handbook

    chapter
    "Customizable httpd.include per domain and subdomain"

    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
     
  2. Whistler

    Whistler Guest

    0
     
    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 :)
     
  3. worryboy

    worryboy Guest

    0
     

    :p

    seems like my decision ;)

    it dosent work ... trust me

    greetz
     
  4. smtalk

    smtalk Guest

    0
     
    Just delete "php_admin_value open_basedir" and restart apahce.
     
  5. worryboy

    worryboy Guest

    0
     
    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 ...
     
  6. SibProgrammer

    SibProgrammer Regular Pleskian Staff Member

    29
     
    Joined:
    Nov 21, 2004
    Messages:
    342
    Likes Received:
    15
    You may add "php_admin_value open_basedir none" to vhost.conf file.
    This must solve your problems.
     
  7. sieb@

    sieb@ Guest

    0
     
    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.
     
  8. worker

    worker Guest

    0
     
    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
     
Loading...