Vhosts_ispconfig configuration

Discussion in 'Installation/Configuration' started by Captain, Dec 26, 2010.

  1. Captain

    Captain Member

    Hello!

    How I can configure Vhosts_ispconfig.conf?
    I want to add this directive to each user in vhost_config.conf
    Code:
    <IfModule mod_php5.c>
        php_admin_value open_basedir "/var/www/web3/:/tmp/"
    </IfModule>
    
    When I do this, after some time this file becomes as default without my modifications.

    Thnks.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Add the code in the apache directives field of the websites instead. Do not modify Vhosts_ispconfig.conf manually.
     
  3. Captain

    Captain Member

    where I can find this file?

    I need to add this directive to each client.
    For exmp:
    for web3 client:
    Code:
    <IfModule mod_php5.c>
        php_admin_value open_basedir "/var/www/web3/:/tmp/"
    </IfModule>
    
    for web5 client:
    Code:
    <IfModule mod_php5.c>
        php_admin_value open_basedir "/var/www/web5/:/tmp/"
    </IfModule>
    
    P.S. I have Ubuntu 10.04.1 and ISPConfig2 final.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    On the "Basis" tab of each web site in ISPConfig 2, you can find a text area called "Apache Directives" where you can put your custom directives.
     

Share This Page