# Re: Specifying a Proxied URL on the CERN Server

Ari Luotonen (luotonen@neon.mcom.com)
Tue, 6 Dec 1994 09:15:03 +0100

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Ari Luotonen: "Re: Specifying a Proxied URL on the CERN Server"
- Previous message: John C. Mallery: "Specifying a Proxied URL on the CERN Server"
- Maybe in reply to: John C. Mallery: "Specifying a Proxied URL on the CERN Server"
- Next in thread: Ari Luotonen: "Re: Specifying a Proxied URL on the CERN Server"

    Date: Tue, 6 Dec 1994 09:15:03 +0100

    Message-Id: <199412060815.IAA00512@neon.mcom.com>

    From: Ari Luotonen <luotonen@neon.mcom.com>

    To: Multiple recipients of list <www-proxy@www0.cern.ch>

    Subject: Re: Specifying a Proxied URL on the CERN Server

> We need to use the CERN server to provide a proxy service to the world for
> another server behind it running database code.
>
> To achieve this, we need to give the world a URL that will reach through the
> proxy cache on the cern server to the backend server.

If all you need is to have your proxy be a "replica" of the actual
server, with caching taking some of the load away from the master
server, you can simply do a remapping of all the URLs to your master
server.

Say, your master server is master.ai.mit.edu and your proxy is
proxy.ai.mit.edu. On the proxy you have:

Pass /* http://master.ai.mit.edu/*

This will make the URL space of proxy.ai.mit.edu be the same as in
master.ai.mit.edu, e.g. the URL:

http://master.ai.mit.edu/foo/bar

can be accessed as:

http://proxy.ai.mit.edu/foo/bar

    --

    If you have also other tasks for the proxy, you can use a magic string
    in front of the URL to indicate the ones that need to be remapped to
    the master server; that is:

    	Pass	/magic/*	http://master.ai.mit.edu/*

    That would make the previous URL:

    	http://master.ai.mit.edu/foo/bar

    be accessible thru the proxy as:

    	http://proxy.ai.mit.edu/magic/foo/bar

    Cheers,

    --
    Ari Luotonen				http://home.mcom.com/people/ari/
    Netscape Communications Corp.
    650 Castro Street, Suite 500
    Mountain View, CA 94041, USA

     Next message: Ari Luotonen: "Re: Specifying a Proxied URL on the CERN Server"
     Previous message: John C. Mallery: "Specifying a Proxied URL on the CERN Server"
     Maybe in reply to: John C. Mallery: "Specifying a Proxied URL on the CERN Server"

     Next in thread: Ari Luotonen: "Re: Specifying a Proxied URL on the CERN Server"