Article delegate-en/1941 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]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] =?gb2312?B?tPC4tDogUmU6IFtEZWxlR2F0ZS1Fbl0gtPC4tDogUmU6IFtEZWxlR2F0ZQ==?= -En]_URL filter ??
17 Oct 2002 06:39:59 GMT pridqbdyi-gztnjk6yfbnr.ml@ml.delegate.org



i do the same test,no help
the log of 8080 is:

10/17 14:20:44.64 [13212] 0+0: WORKDIR=/var/spool/delegate-nobody/work/8080
10/17 14:20:44.64 [13212] 0+0: MOUNT[0]=[0] /-* =
10/17 14:20:44.64 [13212] 0+0: MOUNT[1]=[1] /=* =
10/17 14:20:44.64 [13212] 0+0: MOUNT[2]=[2] http://*%S/manual%S =
rcode=403,dst=192.168.100.8
10/17 14:20:44.64 [13212] 0+0: MOUNT[3]=[3] /* http://-/* default
10/17 14:20:44.65 [13212] 0+0: ERROR MOUNT.vhost[1]  ? unknown
10/17 14:20:44.65 [13212] 0+0: ## MOUNT FULL-URL-SRC [http]://[:80]/[]
10/17 14:20:44.65 [13212] 0+0: gethostbyname(-) unknown[0.00s]
10/17 14:20:44.65 [13212] 0+0: Stay open PIDFILE for accept() lock[fd=11]
10/17 14:20:44.65 [13212] 0+0: env[25] LIBPATH
=.:/usr/local/delegate/src:/var/spool/delegate-nobody/lib:.
10/17 14:20:44.65 [13212] 0+0: arg[1] ADMIN=gaocy@http
10/17 14:20:44.65 [13212] 0+0: arg[2] CACHE
10/17 14:20:44.65 [13212] 0+0: arg[5]
MAXIMA=randfd:128,delegated:2048,standby:64
10/17 14:20:44.65 [13212] 0+0: arg[6] SERVER=http
10/17 14:20:44.65 [13212] 0+0: arg[7] MOUNT=http://*%S/manual%S =
rcode=403,dst=192.168.100.8
10/17 14:20:44.65 [13212] 0+0: DELEGATE_Modified[1]: 3dae56bc
10/17 14:20:44.65 [13212] 0+0: --INITIALIZATION DONE--
10/17 14:21:09.19 [13212] 0+0: AcceptByMain1!
10/17 14:21:09.19 [13217] 1+0: -- Fork(OnetimeServer): 13212 -> 13217
10/17 14:21:09.19 [13217] 1+0: (0) accepted [78]
-@[192.168.112.3]192.168.112.3:4882 (0.004s)(1)

10/17 14:21:09.19 [13217] 1+0: Proxy: host=192.168.112.3; User-Agent:
Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0; MyIE2); DIRECT
10/17 14:21:09.20 [13217] 1+0: HCKA:[0] Keep-Alive; host=192.168.112.3;
(User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0; MyIE2))
10/17 14:21:09.20 [13217] 1+0: *** /manual/ =>
http://192.168.100.8:80/manual/ ***
10/17 14:21:09.20 [13217] 1+0: REQUEST - GET /manual/ HTTP/1.1^M
10/17 14:21:09.20 [13217] 1+0: *** /manual/ =>
http://192.168.100.8:80/manual/ ***
10/17 14:21:09.20 [13217] 1+0: REQUEST +M http://192.168.100.8:80/manual/
HTTP/1.1^M
10/17 14:21:09.20 [13217] 1+0: PATH>
http://192.168.100.8:80!192.168.112.1:8080!192.168.112.3:4882!anonymous@192.168.112.3;1034835669
10/17 14:21:09.20 [13217] 1+0: REQUEST = [http://192.168.100.8:80/] GET
/manual/ HTTP/1.1^M

10/17 14:21:09.20 [13217] 1+0: ConnectToServer: After getsockopt, Default
Dest IP = 192.168.100.8, Port = 80
10/17 14:21:09.20 [13217] 1+0: ConnectToServer:
DFLT=http://192.168.100.8:80 REAL=http://192.168.100.8:80
10/17 14:21:09.20 [13217] 1+0: OpenServer: DST=http://192.168.100.8:80
10/17 14:21:09.20 [13217] 1+0: ConnectToServer connected [7]
{192.168.100.8:80 <- 192.168.100.1:1148} [0.001s]
10/17 14:21:09.20 [13217] 1+0: HTTP => (192.168.100.8:80) GET /manual/
HTTP/1.1^M
10/17 14:21:09.31 [13217] 1+0: #HT11 NO-response-buffering: chunked mode
10/17 14:21:09.31 [13217] 1+0: #HT11 chunked, should skip: Content-Length:
7563^M
10/17 14:21:09.31 [13217] 1+0: #HT11 SERVER ver[HTTP/1.1] conn[]
10/17 14:21:09.31 [13217] 1+0: #HT11 server KEEP-ALIVE
10/17 14:21:09.31 [13217] 1+0: #HT11 --putChunk-Header: Transfer-Encoding:
chunked^M
10/17 14:21:09.31 [13217] 1+0: HTTP/1.1 200 Content-{Type:text/html
Encoding:[/] Leng:7563} Server:Apache/2.0.43 (Win32)
10/17 14:21:09.32 [13217] 1+0: ##truncated tag-body:<a^M

10/17 14:21:09.33 [13217] 1+0: HTTP transmitted: 292head+7563/7563body
=>0txt+0bin->7659/7563, 18i/2o/0f/0.1
10/17 14:21:09.36 [13217] 1+0: #HT11 putServ(12/16) 192.168.100.8:80
10/17 14:21:11.06 [13217] 1+0/1: Proxy: host=192.168.112.3; User-Agent:
Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0; MyIE2); DIRECT

10/17 14:21:11.06 [13217] 1+0/1: *** /manual/ =>
http://192.168.100.8:80/manual/ ***
10/17 14:21:11.06 [13217] 1+0/1: REQUEST - GET /manual/ HTTP/1.1^M
10/17 14:21:11.06 [13217] 1+0/1: *** /manual/ =>
http://192.168.100.8:80/manual/ ***
10/17 14:21:11.06 [13217] 1+0/1: REQUEST +M http://192.168.100.8:80/manual/
HTTP/1.1^M
10/17 14:21:11.06 [13217] 1+0/1: PATH>
http://192.168.100.8:80!192.168.112.1:8080!192.168.112.3:4882!anonymous@192.168.112.3;1034835669
10/17 14:21:11.06 [13217] 1+0/1: REQUEST
= (no-cache)[http://192.168.100.8:80/] GET /manual/ HTTP/1.1^M
10/17 14:21:11.10 [13217] 1+0/1/1: #HT11 getServ  1.7s*1 SERVER REUSE
(12/16) [192.168.100.8:80] 192.168.100.8





-----------
gaocy
DCN
phone:82705259
---------------------


                                                                                                      
                      feedback@delegate                                                               
                      .org (Yutaka             收件人:  feedback@delegate.org                        
                      Sato)                    抄送:    gaocy@digitalchina.com                       
                                               主题:    Re: [DeleGate-En] 答复: Re: [DeleGate-En]    
                      2002-10-17 12:43          URL filter ??                                         
                      请答复 给                                                                       
                      feedback                                                                        
                                                                                                      
                                                                                                      




On 10/17/02(10:37) you gaocy@digitalchina.com wrote
in <OFCE136449.2B9C6EE4-ONC7256C55.000846E8@digitalchina.com>
 |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