Using a custom PHP wrapper I wrote based upon this code:

http://wiki.scalr.net/@api/deki/files/106/=scalr-example-php.txt

Trying to execute this API call:

http://wiki.scalr.net/API/API_Reference/ApacheVhostCreate

My code generates a URL similar to the following:

http://myscalrdomain.com/api/api.php?Action=ApacheVhostCreate&DocumentRootDir=%2Fvar%2Fwww%2FIA-8066.myscalrdomain.com&DomainName=IA-8066.myscalrdomain.com&EnableSSL=0&FarmID=2&FarmRoleID=6&KeyID=xxxxxxxxxxxxxxx&Timestamp=2012-01-21T11%3A55%3A38%2B00%3A00&Version=2.3.0&Signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

The vhost is created as it should EXCEPT in the settings (Web
interface) there is only the value "a" for Document Root, Logs
Directory, Server admin's email and server alias.  Is the problem that
the DocumentRootDir specifically should not be URL encoded?

Thanks!

Aaron

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/scalr-discuss?hl=en.

Reply via email to