CMD_API_CUSTOM_HTTPD

Version 1.26

Feature
Finished

To add/remove custom httpd settings via the api. CMD_API_CUSTOM_HTTPD Read data: Method: GET domain=domain.com eg: CMD_API_CUSTOM_HTTPD?domain=domain.com will dump the contents of the /usr/local/directadmin/data/users/username/domains/domain.com.cust_httpd --------- Set data: Method: POST domain=domain.com config=custom httpd.conf data To delete the entry, set the data with config= such that config is blank, eg ""

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