Article delegate-en/1096 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] Re: vsap auth
16 Apr 2001 05:55:12 GMT (Yutaka Sato)

On 04/14/01(21:36) you Indrek Mandre <> wrote
in <_A1091@delegate-en.ML_>
 |The host where i run the vsap server i actually run another
 |delegate as a http server as SERVER=http://vsapserver:vsapport/
 |This gives me the advantage that all the static content is cached
 |outside my internal adsl network. The problem here is that
 |how can i make the delegate to pass on the correct Host:
 |field for I want to have virtual hosts? For now it passes
 |on 'Host:' header for some reason.

It is hard to figure out what is going without knowing the
configuration of your servers and what kind of problem occurs.
A possible configuration may be like this:

  external# delegated -P80 SERVER=http://vsaphost:8080 CACHE=do
  vsaphost% delegated -P8000 SERVER=vsap PORT=8080
  internal% delegated -P8080@vsap:8000 SERVER=
  internal% some WWW-server

and if you say the WWW-server receives "Host:" header,
it occurs independently of VSAP, with configuration like this:

  % delegated -P8080 SERVER=

which is equivalent to:

  % delegated -P8080 SERVER=http MOUNT="/**"

DeleGate forwards a HTTP request to MOUNTED server with "Host:"
field specified in MOUNT (or SERVER) parameter by default.
The host field can be replaced with specified string by "genvhost"
MountOption like this:

  % delegated -P8080 SERVER=http \
                     MOUNT="/** genvhost=VirtualHostName"

See <URL:/delegate/Manual.htm#HTTP_mount> for a little more.

  @ @ Yutaka Sato <>
 ( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan

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