Article delegate-en/1939 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:<_A1938@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: =?gb2312?B?tPC4tDogUmU6IFtEZWxlR2F0ZS1Fbl0gVVJMIGZpbHRlciA/Pw==?=
17 Oct 2002 04:44:00 GMT feedback@delegate.org (Yutaka Sato)


On 10/17/02(10:37) you pridqbdyi-5bnwhwbwcmlr.ml@ml.delegate.org wrote
in <_A1938@delegate-en.ML_>
 |I do it as what you tell:
 |   MOUNT="http://*%S/manual%S = rcode=403,dst=192.168.100.8"
 |but I can access http://192.168.100.8/manual normally.
 |and I try the second method too,the result is same.
 |why?

I can see it to work as follows.  What do you see with the same test?

% delegated -P8080 -vv SERVER=http MOUNT="http://*%S/manual%S = rcode=403,dst=192.168.100.8" 
...
10/18 01:03:49.52 [4225] 1+1: (0) accepted [44] -@[127.0.0.1]localhost:3864 (0.005s)(1)
10/18 01:03:49.52 [4225] 1+1: dirfopen(/home/y.sato/delegate/adm/shutout/127.0.0.1,r): 0 [-1]
10/18 01:03:49.52 [4225] 1+1: KeepAlive[44] = 1
10/18 01:03:49.52 [4225] 1+1: execGeneralist->execSpecialist
10/18 01:03:49.52 [4225] 1+1: PATH: http://-:80!localhost:8080!localhost:3864!anonymous@localhost;1034870629
10/18 01:03:49.52 [4225] 1+1: HTTP Relay_request_head (37 bytes/2 lines)
10/18 01:03:49.52 [4225] 1+1: Proxy: host=localhost; User-Agent: DeleGate/8.0.7 (dget); DIRECT
10/18 01:03:49.52 [4225] 1+1: HTTP Relay_request done (37 bytes/2 lines)
10/18 01:03:49.52 [4225] 1+1: *** gethostbyname(192.168.100.8) -> byaddr(4,2)
10/18 01:03:49.52 [4225] 1+1: [1/1] EXACT NAME MATCH: 192.168.100.8 += 192.168.100.8 ?
10/18 01:03:49.52 [4225] 1+1: [1/1] ==> 1 (MOUNT.dst 192.168.100.8)
10/18 01:03:49.52 [4225] 1+1: ###### matchPath1(1,-,192.168.100.8:80) = 2
10/18 01:03:49.53 [4225] 1+1: [4] URL Matched but not for MovedTo[20000]:http://192.168.100.8/manual
10/18 01:03:49.53 [4225] 1+1: [4] URL Matched but not for MovedTo[40000]:http://192.168.100.8/manual
10/18 01:03:49.53 [4225] 1+1: [4] MOUNT ASIS: http://
10/18 01:03:49.53 [4225] 1+1: E-P: URL rejected: localhost:3864 => GET http://192.168.100.8/manual HTTP/1.0 (reject in MOUNT[4])
10/18 01:03:49.53 [4225] 1+1: TMPFILE(Forbidden) = (11) /home/y.sato/delegate/tmp/dg4225.3.1034870629
...

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