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

[DeleGate-En] generic MOUNT and /-_-URL (Re: delegate running as https service)
02 Jun 2005 23:27:35 GMT (Yutaka Sato)
The DeleGate Project

On 06/03/05(07:23) you feedback@delegate.. (Yutaka Sato) wrote
in <_A2965@delegate-en.ML_>
 |I don't know what is the problem but I should say that the relaying with
 |"/-_-" like "http://delegate/-_-" is not recommended
 |for practical use because the way of relaying could have inherent technical
 |difficulty and the implementation is not maintained enough.
 |The recommended way is accessing it as "http://delegate/yahoo/" or so by 
 |explicitly declaring the rewriting of URL, cookies, authentication, and
 |son on (like a reverse proxy and more) by "MOUNT" parameter as

In the current DeleGate, doing explicit MOUNT for each server is the only
way guaranteed to work:


If you have a problem in this way of usage, I think I must fix the problem
as fast as possible.

Other usage of MOUNT, or relaying with "/-_-" (like an implicit automount),
are features which are not guaranteed to work.
For example, you can do generic MOUNTs for arbitrary servers like this:

  MOUNT="/http/*   http://*"
  MOUNT="/https/* https://*"
  MOUNT="/ftp/*     ftp://*"

With the set of MOUNTs, you can access arbitrary servers like
http://delegate/http/, http://delegate/https/ and
MOUNTs like above, which does mapping URL "protocolname://hostname/urlpath" to


can be represented in a single, the most generic MOUNT like this:

  MOUNT="/* *"

If necessary, you can insert a Prefix before URL like this:


And when the Prefix string is "-_-" like this:

  MOUNT="/-_-* *"

it works like proxying by implicit automount (by RELAY="delegate").  But it
does more thing than the implicit one because it is MOUNTed explicitly.

  D G   Yutaka Sato <>
 ( - )  National Institute of Advanced Industrial Science and Technology
_<   >_ 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]