proxy server

proxy server

am 10.09.2009 15:26:38 von idan72

Hi,

I have web application writing in Flex.
The clients are from different location(countries).
I want that when client try to reach the URL of application he will get it
from local server and not from the main server.
Also if possible that if there is update in main server the update will be
send to the local server at each location.

Is that possible ?
Should I use proxy server for that ?
Is the update from server can be done or I need to define some timeout that
after that the local cache on local server is removed so when user will try
to reach server it will cause to update of local server ?

Thanks

--
View this message in context: http://www.nabble.com/proxy-server-tp25383173p25383173.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: proxy server

am 10.09.2009 15:35:47 von Krist van Besien

On Thu, Sep 10, 2009 at 3:26 PM, idan72 wrote:

> I have web application writing in Flex.
> The clients are from different location(countries).
> I want that when client try to reach the URL of application he will get it
> from local server and not from the main server.
> Also if possible that if there is update in main server the update will be
> send to the local server at each location.
>
> Is that possible ?

Yes. But this is not that trivial.
The easiest part is mirroring your servers to a local machine. Use
whatever works for you to do this. The hard part is getting clients to
use a geographically close server. For that you will need to return a
different IP address when a client request your hostname, depending on
where the request originates from. But this has nothing to do with
apache really...

Krist


--
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: proxy server

am 10.09.2009 15:44:25 von idan72

Thanks for your quick reply.
Can you explain how do I do the mirroring part ? Is it with proxy server ?
Can you give example for one or more ?

Can't I configure in client side to use the local server and not the main
server (where I put my app)?

Thanks


Krist van Besien wrote:
>
> On Thu, Sep 10, 2009 at 3:26 PM, idan72 wrote:
>
>> I have web application writing in Flex.
>> The clients are from different location(countries).
>> I want that when client try to reach the URL of application he will get
>> it
>> from local server and not from the main server.
>> Also if possible that if there is update in main server the update will
>> be
>> send to the local server at each location.
>>
>> Is that possible ?
>
> Yes. But this is not that trivial.
> The easiest part is mirroring your servers to a local machine. Use
> whatever works for you to do this. The hard part is getting clients to
> use a geographically close server. For that you will need to return a
> different IP address when a client request your hostname, depending on
> where the request originates from. But this has nothing to do with
> apache really...
>
> Krist
>
>
> --
> krist.vanbesien@gmail.com
> krist@vanbesien.org
> Bremgarten b. Bern, Switzerland
> --
> A: It reverses the normal flow of conversation.
> Q: What's wrong with top-posting?
> A: Top-posting.
> Q: What's the biggest scourge on plain text email discussions?
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>

--
View this message in context: http://www.nabble.com/proxy-server-tp25383173p25383575.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: proxy server

am 10.09.2009 16:07:46 von Krist van Besien

On Thu, Sep 10, 2009 at 3:44 PM, idan72 wrote:
>
> Thanks for your quick reply.
> Can you explain how do I do the mirroring part ? Is it with proxy server ?
> Can you give example for one or more ?

Mirrororing basically means copying all the content that exists on one
server on another one. There are many different way to do this, going
from simply copying everything from one machine to another, to using
something like rsync, to using a webspider. Use what works for you.
This is however not really an apache issue.

> Can't I configure in client side to use the local server and not the main
> server (where I put my app)?

If you have control over the clients you can configure them to use a
local server. How to do this depends on what kind of control you have.
This is however not an apache issue.

Krist



--
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org