Version 1.38


Custom scripts for when a User modifies a domain (changes ssl, bandwidth, settings, etc..) This is not for the change of a domain name, that's and The variables passed will be all of the variables from: /usr/local/directadmin/data/users/username/domains/ but overwritten with the new settings specified by the user in the post. Also, the username and domain variables will be included (somewhat important) The pre will be called after all filtering of variables, but before the write of the The post will be call after the write, (which is essentially all that happens with the domain modification) Like other sh scripts, you can exit with a non-zero value, and DA will abort, and display your echo'ed text. This is mainly for the, as the is too late to abort anything (but your text will still be shown)

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