Results 1 to 5 of 5

Thread: <VHost> Editing

  1. #1
    Member
    Join Date
    Dec 2008
    Posts
    23

    Default <VHost> Editing

    Ok, so under /etc/httpd/conf/httpd.conf you have all your vHost Setups, but what I can't figure out is how do I edit the template so that I can have the php_admin_value disabled_functions = ; on a per vHost basis.

    I'm coming from a DirectAdmin background and the way they had this setup made it cake to figure out. Maybe it's just me, but CPanel makes this look more complex then what it probably is.
    Last edited by h0tmailz; 01-13-2009 at 06:55 PM.

  2. #2
    Member MaestriaNick's Avatar
    Join Date
    Aug 2008
    Posts
    142

    Default

    the template location is under /usr/local/cpanel/etc/httptemplates .

    Maestriatech.com
    If Someone can do it, We can do it better.
    24/7 Linux /Windows Server Support
    5+ years in the industry
    reachus@maestriatech.com

  3. #3
    cPanel Staff cPanelNick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,793

    Default

    Quote Originally Posted by h0tmailz View Post
    Ok, so under /etc/httpd/conf/httpd.conf you have all your vHost Setups, but what I can't figure out is how do I edit the template so that I can have the php_admin_value disabled_functions = ; on a per vHost basis.

    I'm coming from a DirectAdmin background and the way they had this setup made it cake to figure out. Maybe it's just me, but CPanel makes this look more complex then what it probably is.
    Please see this document here:

    http://www.cpanel.net/support/docs/e...irectives.html
    -Nick
    cPanel Inc.

    Need support? Submit a request here. Complimentary support is available to all license holders regardless of where you purchased your license.
    Need a complimentary support account? Create one here.

  4. #4
    Member
    Join Date
    Dec 2008
    Posts
    23

    Default

    Quote Originally Posted by MaestriaNick View Post
    the template location is under /usr/local/cpanel/etc/httptemplates .
    So by editing that everytime I create an account that will get inserted into the httpd.conf with my modifications?

  5. #5
    Member MaestriaNick's Avatar
    Join Date
    Aug 2008
    Posts
    142

    Default

    Quote Originally Posted by h0tmailz View Post
    So by editing that everytime I create an account that will get inserted into the httpd.conf with my modifications?
    yes, edit that. When you create an account from controlpanel, virtualhost will be created using that template.

    Maestriatech.com
    If Someone can do it, We can do it better.
    24/7 Linux /Windows Server Support
    5+ years in the industry
    reachus@maestriatech.com

Similar Threads

  1. how to add vhost
    By bryan.kewl in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 02-28-2011, 10:32 AM
  2. Can't get vhost to work
    By cwalke32477 in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 06-29-2010, 11:38 AM
  3. where did vhost templates go???
    By tywe in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 10-24-2007, 01:37 AM
  4. vhost for bnc
    By aksi in forum New User Questions
    Replies: 2
    Last Post: 09-26-2007, 10:12 PM
  5. vhost not recognize :(
    By Claus in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 09-20-2005, 09:43 AM