Customize template for vhost

Discussion in 'Installation/Configuration' started by destine, Mar 12, 2014.

  1. destine

    destine Member

    Hi,
    I need to make changes in vhost.conf.master.

    So, I made changes in file .
    PHP:
    <tmpl_if name='fastcgi_config_syntax' op='==' value='2'>
                                    
    FcgidIdleTimeout 300
                                    FcgidProcessLifeTime 36000
                                    
    # FcgidMaxProcesses 1000
                                    
    FcgidMaxRequestsPerProcess <tmpl_var name='fastcgi_max_requests'>
                                    
    FcgidMinProcessesPerClass 0
                                    FcgidMaxProcessesPerClass 100
                                    FcgidConnectTimeout 3
                                    FcgidIOTimeout 36000
                                    FcgidBusyTimeout 3000
                                    FcgidMaxRequestLen 1073741824
    <tmpl_else>
                                    
    IdleTimeout 300
                                    ProcessLifeTime 3600
                                    
    # MaxProcessCount 1000
                                    
    DefaultMinClassProcessCount 0
                                    DefaultMaxClassProcessCount 100
                                    IPCConnectTimeout 3
                                    IPCCommTimeout 360
                                    BusyTimeout 300
    </tmpl_if>
    But It doesn't work, when I create new website I still have old settings for fcgid.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you store your modified copy in the conf-custom folder?
     
  3. destine

    destine Member

    Where exactly I need put this modified vhost.conf.master. It mean to which subdir ?

    [email protected] /usr/local/ispconfig/server/conf-custom> ls -alh
    total 36K
    drwxr-s--- 6 ispconfig ispconfig 4.0K Mar 13 07:45 .
    drwxr-s--- 13 ispconfig ispconfig 4.0K Jan 31 00:30 ..
    drwxr-s--- 2 ispconfig ispconfig 4.0K Jan 29 15:32 error
    drwxr-s--- 2 ispconfig ispconfig 4.0K Jan 29 15:32 index
    drwxr-s--- 2 ispconfig ispconfig 4.0K Mar 13 07:45 install
    drwxr-s--- 2 ispconfig ispconfig 4.0K Jan 29 15:32 mail
    -rwxr-x--- 1 root ispconfig 9.9K Mar 12 17:48 vhost.conf.master


    I put this to main dir but it seems doesn't work

    Thx in advanced
     
    Last edited: Mar 13, 2014
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The path /usr/local/ispconfig/server/conf-custom is correct. If a file exists in this path, it will be used instaed of the one from conf/ folder.
     
  5. destine

    destine Member

    Thx Till again for you help
     

Share This Page