marostieklo
New member
- Joined
- Apr 29, 2009
- Messages
- 1
Hi i have to do some work in my job in direct admin but i cant find knowledge in this case. I have few problems.
I am connecting to a direct admin server using curl in my script. Objective is to create user and domain and that part is easy. But also i have to change that new created domain by adding another domain alias and changing document root.
I didin't find a way in api to do that so i tried domain_create_post.sh file.I cant change every new domain, only that created by my scrip. But i dont know how to change environmental variables in that file to recognise how domain was created, by me or by someone else.
And now i have no clue, i dont know api command to do so, neither i dont know how smuggle my own variable to an sh file. Any suggestions?
ps. sorry for my english ;] its not my primary language
I am connecting to a direct admin server using curl in my script. Objective is to create user and domain and that part is easy. But also i have to change that new created domain by adding another domain alias and changing document root.
I didin't find a way in api to do that so i tried domain_create_post.sh file.I cant change every new domain, only that created by my scrip. But i dont know how to change environmental variables in that file to recognise how domain was created, by me or by someone else.
And now i have no clue, i dont know api command to do so, neither i dont know how smuggle my own variable to an sh file. Any suggestions?
ps. sorry for my english ;] its not my primary language