configuring the vhost

Discussion in 'General' started by webcave, Aug 27, 2008.

  1. webcave

    webcave New Member

    Hey i have configured my vhost to put this on all the vhost files

    php_admin_value open_basedir /var/www/ads:/var/www/{WEB}
    php_admin_value output_buffering 4098
    php_admin_value auto_prepend_file '/var/www/ads/header.php'
    AddType application/x-httpd-php htm
    AddType application/x-httpd-php html
    It works great but there is a problem say i want to disable it on my web directory i can because that is in the vhost.conf.master and if i edit it in the Apache vhostispconfg.conf it will just override it next time a new client is added.

    so im trying to disable all of the values stated above on one or two clients and still have them enabled for all the others! thanks all help greatly appreciated :)
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The Vhost_ispconfig.conf file can not be edited manually. Either you add the lines to the apache directives field or you will have to rewrite the code that ISPConfig uses the generate the vhosts. The code is in the file /root/ispconfig/scripts/lib/config.lib.php
  3. webcave

    webcave New Member

    Thanks for your help i got it! :D

Share This Page