Article delegate-en/2325 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A2324@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Issue with Delegate 7.3x - 8.5.5
03 Jul 2003 13:32:01 GMT feedback@delegate.org (Yutaka Sato)


On 07/03/03(22:15) you "Lobdell, Ian" <pbeeqbdyi-ry4zqclivjvr.ml@ml.delegate.org> wrote
in <_A2324@delegate-en.ML_>
 |Sorry it was a type-o on my side.
 |
 |when using delegate in relay mode = delegate it re-writes urls to be /-_-real-url
 |by using a perl script to look for /-_-real-url and replacing it with real-url the issue no longer comes up.

Please, answer my question.

(1) You are using http://DeleGate/-_-http://server in your request
    for some reason, yes or no?

(2) You don't need further relaying for linkes in the response HTML, 
    yes or no?

If both are true, then

  MOUNT="/-_-* * direction=fo"

will do it.  No rewriting is applied for response. No filter is neccessary.
And you can chose any string instead of "-_-".


 | |Sorry but I'm not sure what is your problem.
 | |
 | |If you use "http://delegate/-_-http://server" in your request to do the
 | |proxying, any "http://server" in the response must be rewritten like so
 | |to continue further proxying.
 | |
 | | 1) client requests http://DeleGate/-_-http://server1
 | | 2) DeleGate relays it to http://server1
 | | 3) server responds with HTML including http://server2
 | | 4) DeleGate rewrites it to http://DeleGate/-_-http://server2
 | |
 | | 5) client reuqests http://DeleGate/-_-http://server2
 | | 6) DeleGate relays it to http://server2
 | | ...
 | |
 | |Where is the problem?
 |
 |Possibly you need the rewriting about server1 (1-2) but you don't
 |need it for server2 (3-4)

Cheers,
Yutaka
--
  @ @ Yutaka Sato <y.sato@delegate.org> http://www.delegate.org/y.sato/
 ( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V