B
beowoof
Hi all,
I have an interesting architecture that I'm trying to adapt a
configuration interface to.
At a high level, the architecture breaks down to:
Central Web Instance:
- let's call it www.web-central.bank.com
Regional Web Servers:
- www.web-usa.bank.com, www.web-eur.bank.com and
www.web-asia.bank.com
Now, ideally, users who want to configure each of the regional servers,
shouldn't have to actually log onto them locally. Instead, they would
log onto the central instance, select the region to modify and -- poof
-- the regional server is updated behind the scenes.
Next up, I have no intention of using anything like frames,
configuration databases, pull methods, etc. I want to be able to
"push" the configuration out to the regional servers from the central
instance ad hoc.
My first plan was to use xmlhttprequest to go off to a update.pl script
on the appropriate server and everything would be fine and dandy. Of
course, that didn't work. Calling a different web server causes
security warnings in IE and just won't work on Firefox.
So what I'd like are ideas on how to approach this, or where I'm going
wrong. I specifically only want to stay within the web framework -
ideally CGI -> CGI calls. I could of course have daemon processes
(this is all Linux/Apache btw), SSH push, etc... All of which I don't
want to do. I had this wonderfully "clean" idea of central web scripts
calling regional web scripts.
Thanks in advance.
I have an interesting architecture that I'm trying to adapt a
configuration interface to.
At a high level, the architecture breaks down to:
Central Web Instance:
- let's call it www.web-central.bank.com
Regional Web Servers:
- www.web-usa.bank.com, www.web-eur.bank.com and
www.web-asia.bank.com
Now, ideally, users who want to configure each of the regional servers,
shouldn't have to actually log onto them locally. Instead, they would
log onto the central instance, select the region to modify and -- poof
-- the regional server is updated behind the scenes.
Next up, I have no intention of using anything like frames,
configuration databases, pull methods, etc. I want to be able to
"push" the configuration out to the regional servers from the central
instance ad hoc.
My first plan was to use xmlhttprequest to go off to a update.pl script
on the appropriate server and everything would be fine and dandy. Of
course, that didn't work. Calling a different web server causes
security warnings in IE and just won't work on Firefox.
So what I'd like are ideas on how to approach this, or where I'm going
wrong. I specifically only want to stay within the web framework -
ideally CGI -> CGI calls. I could of course have daemon processes
(this is all Linux/Apache btw), SSH push, etc... All of which I don't
want to do. I had this wonderfully "clean" idea of central web scripts
calling regional web scripts.
Thanks in advance.