sinuous
Verified User
I have created domain_create_post.sh and domain_destroy_post.sh and they are running fine but I am having some issues with my subdomain scripts.
1) subdomain_destroy_post.sh script is not being executed at all. I have double checked all file names and permissions and can see no reason why this script is not being executed when a subdomain is deleted.
2) The subdomain_create_post.sh script runs fine and makes the required changes to httpd.conf but the file is overwritten after it runs. Is there anything I can do here? I tried the dns_write_post.sh script but it seems to be run before the create script so is not suitable either. I am aware of the custom httpd field in the control panel and that is not suitable for my needs - basically what i need to do is write changes to httpd.conf after DA has made any changes to it.
Can anyone confirm if they have had the same issues and any possible work arounds.
cheers,
Joshua
1) subdomain_destroy_post.sh script is not being executed at all. I have double checked all file names and permissions and can see no reason why this script is not being executed when a subdomain is deleted.
2) The subdomain_create_post.sh script runs fine and makes the required changes to httpd.conf but the file is overwritten after it runs. Is there anything I can do here? I tried the dns_write_post.sh script but it seems to be run before the create script so is not suitable either. I am aware of the custom httpd field in the control panel and that is not suitable for my needs - basically what i need to do is write changes to httpd.conf after DA has made any changes to it.
Can anyone confirm if they have had the same issues and any possible work arounds.
cheers,
Joshua