the example of of Remote API functions not at all
"$result = shell_exec("wget -O - --quiet --http-user=root --http-passwd=pass --no-check-certificate 'https://localhost:10000/virtual-server/remote.cgi?program=list-domains'");"
every time I call this function, it return the nomral windows and tells me that I should login.
Furthermor this function can ony be executed as root. In that case it is meaningless. I can't tell my login and password to every virtual server owner.
It is much much better to let every virtual Server owner to be albe to execute the remote function as a virtual Server onwer, because he has also login and password.
For eample:
the server owner of the domain xyz.com can usally login under https://www.xyz.com:10000, I find that very good.
then he can call the remote API this way: "$result = shell_exec("wget -O - --quiet --http-user=root --http-passwd=pass --no-check-certificate 'https://www.xyz.com:10000/remote.cgi?program=list-domains'");"
Can you please add this feature? I think many installed script need this feature.
Thank you in advance.
If things go well, I will need many license.
Comments
Submitted by qianyang on Thu, 01/28/2010 - 16:35 Comment #1
correction:
it shoud be
the virtual server owner of the domain xyz.com can usally login under https://www.xyz.com:10000, I find that very good.
then he can call the remote API this way: "$result = shell_exec("wget -O - --quiet --http-user=username --http-passwd=pass --no-check-certificate 'https://www.xyz.com:10000/remote.cgi?program=list-domains'");"
Submitted by JamieCameron on Thu, 01/28/2010 - 17:21 Comment #2
This is on my TODO list ... ideally domain owners would be able to use the API too, but the access control needed to implement this hasn't been written yet.
Submitted by qianyang on Fri, 01/29/2010 - 03:42 Comment #3
Jamie,
thank your very much. It is a pleasure to know that, then I don't need to write a php programm to go ground with it.
Can you please tell me when you can finish doing that.
Again many thanks
Submitted by JamieCameron on Fri, 01/29/2010 - 12:40 Comment #4
It's likely to be at least a month ..
Submitted by qianyang on Sat, 01/30/2010 - 03:26 Comment #5
Thank you very much, wait for you good news
Submitted by qianyang on Wed, 04/07/2010 - 16:44 Comment #6
Dear Jamie,
have you gotten any progress?
Many thanks in advance
Submitted by JamieCameron on Wed, 04/07/2010 - 16:46 Comment #7
Not yet, sorry ...