I am trying to create new account using a customer vhost template. I have edited the /var/cpanel/templates/apache2/vhost.local file, which according to the documentation will take precedence over the vhost.default file.
When I create a new account in WHM my custom vhost template is not used. However, if I run /usr/local/cpanel/bin/build_apache_conf my custom vhost template is used to build the httpd.conf file.
Why when creating a new account is the vhost.local template not used and how can I get my custom templated used when creating new accounts?
Thanks



LinkBack URL
About LinkBacks
Reply With Quote





