CMD_CUSTOM_HTTPD: JSON to show virtual_host2.conf.pre, virtual_host2.conf.CUSTOM.pre

Version 1.55


On the page: CMD_CUSTOM_HTTPD? Within the "VH1" to "VH6" arrays, if there are custom values, a sub-array will be shown, called: "custom_global_pre_post" eg: ... "VH1": { "custom": "1", "custom_global_pre_post": { "/usr/local/directadmin/data/templates/custom/virtual_host2.conf.CUSTOM.4.pre": "#virtual_host2.conf.CUSTOM.4.pre\n", "/usr/local/directadmin/data/templates/custom/": "\n", "/usr/local/directadmin/data/templates/custom/virtual_host2.conf.pre": "#THIS IS PRE TEXT!!\n\n" }, "data": ... Also applies to nginx template, where applicable. Note, the cust_httpd.pre custom files are listed in json, mentioned in id=2158.

Interested to try DirectAdmin? Get a 30-day Free Trial!