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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
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

Code:
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
  #2  
Old 27th August 2008, 11:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,796
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

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
  #3  
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
 
Default

Thanks for your help i got it!
Reply With Quote
Reply

Bookmarks

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 03:42.


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