Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 27th August 2008, 07:54
webcave webcave is offline
Junior Member
Join Date: Jul 2008
Posts: 22
Thanks: 6
Thanked 1 Time in 1 Post
Default configuring the vhost

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
Reply With Quote
Sponsored Links
Old 27th August 2008, 11:48
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

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
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Old 28th August 2008, 00:16
webcave webcave is offline
Junior Member
Join Date: Jul 2008
Posts: 22
Thanks: 6
Thanked 1 Time in 1 Post

Thanks for your help i got it!
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSL creation for Vhost DreamK Installation/Configuration 10 31st August 2008 14:28
vhost and open_basedir Gimly Installation/Configuration 6 19th August 2007 13:59
new vhost, routes wrong jdc32 Installation/Configuration 11 1st February 2007 21:13
Default Error Pages for sharedip vhost martinoc Feature Requests 1 1st June 2006 01:30
Can't turn of PHP for vhost dmgeurts Installation/Configuration 14 7th November 2005 13:56

All times are GMT +2. The time now is 21:30.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.