Article delegate-en <_A2324@delegate-en.ML_>
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[delegate-en/2324]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Issue with Delegate 7.3x - 8.5.5
03 Jul 2003 13:15:44 GMT "Lobdell, Ian" <pbeeqbdyi.ml@ml.delegate.org>


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.

Ian

Ian Lobdell
Global Messaging Systems
Core Media Technologies
pbeeqbdyi.ml@ml.delegate.org
(Office) 1 212.210.5379
(Mobile) 1 917.656.8757


-----Original Message-----
From: Yutaka Sato [mailto:feedback@delegate.org]
Sent: Wednesday, July 02, 2003 5:36 PM
To: feedback@delegate.org
Cc: Lobdell, Ian
Subject: Re: [DeleGate-En] Issue with Delegate 7.3x - 8.5.5


On 07/03/03(06:21) you "Lobdell, Ian" <pbeeqbdyi.ml@ml.delegate.org> wrote
in <_A2322@delegate-en.ML_>
 |using a FTOCL filter where the Content-Type= text/html
 |and the filter = Filter: /myperlscript.pl
 |where the perl script looks for: href="\-_- and replacing it with hfref=" we were able to get around the issue.

Sorry but I cannot understand rewriting

  href="\-_-...

to

  hfref="...

?
Are not you using the DeleGate with "http://-_-" ??

 |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