Custom open_basedir for VirtualHost

Discussion in 'Apache Migration/Compatibility' started by ffeingol, Jan 19, 2010.

  1. ffeingol

    ffeingol Well-Known Member

    On a cPanel generated httpd.conf there are multiple php_admin_value open_basedir statements based on which module you are running:

    - concurrent_php
    - mod_php4
    - mod_php5
    - sapi_apache2

    open_basedir is getting set correctly, but we can't tell which of them LSWS is actually reading and using. We would like to set a custom open_basedir for several domains via cPanel's:

    Include "/usr/local/apache/cofn/userdata/std/2/USERID/DOMAIN.TLD/*.conf

    But we're not sure which of the many open_basedir's will actually get 'picked' by LSWS
  2. ffeingol

    ffeingol Well-Known Member

    Can anyone help with this?
  3. mistwang

    mistwang LiteSpeed Staff

    The last one will be effective one.

Share This Page