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

[DeleGate-En] Re: host routing?
05 Jun 2003 14:49:59 GMT "Devon Harding" <p34eabdyi-fjxi26avzhtr.ml@ml.delegate.org>


Re: [DeleGate-En] host routing?When I run the following command, 

[root@mars src]# delegated -v -P80 PERMIT="*:*:*.*" SRCIF="192.168.0.12:*:*:www.domain.com"

I get this error when I try to access www.domain.com from outside:

06/05 11:10:45.35 [17168] 0+0: --INITIALIZATION DONE--
06/05 11:11:00.86 [17170] 1+0: -- Fork(SequentialServer): 17168 -> 17170
06/05 11:11:00.98 [17170] 1+1: (0) accepted [43] -@[12.108.2.3]gw.site.com:44645 (0.267s)(1)
06/05 11:11:01.11 [17170] 1+1: Proxy: host=gw.site.com; User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; .NET CLR 1.0.3705; .NET CLR 1.1.4322); DIRECT
06/05 11:11:01.11 [17170] 1+1: HCKA:[0] Keep-Alive; host=gw.site.com; (User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; ..NET CLR 1.0.3705; .NET CLR 1.1.4322))
06/05 11:11:01.11 [17170] 1+1: REQUEST = GET / HTTP/1.1^M
06/05 11:11:01.11 [17170] 1+1: PATH> http://www.domain.com:80!mars.domain.com:80!gw.site.com:44645!anonymous@gw.site.com;1054825861
06/05 11:11:01.11 [17170] 1+1: REQUEST = [http://www.domain.com:80/] GET / HTTP/1.1^M
06/05 11:11:01.11 [17170] 1+1: checking delegate-internal: self=0 GET / HTTP/1.1^M
06/05 11:11:01.11 [17170] 1+1: default netmask 12.108.2.3/. = FFFFFF00
06/05 11:11:01.11 [17170] 1+1: ## hostIFto 12.108.2.3 < 192.168.0.2 (ffffff00)
06/05 11:11:01.11 [17170] 1+1: Unknown internal: [www.domain.com:80] /
06/05 11:11:01.13 [17170] 1+1: E-U: Unknown: gw.site.com:44645 => GET / HTTP/1.1 [http://www.domain.com:80]
06/05 11:11:01.13 [17170] 1+1: ####LS cannot open /var/spool/delegate-nobody/act/delay/23/12.108.32.3:gw.site.com

THe delegated server is 192.168.0.2.  I want it to route www.domain.com to 192.168.0.12

How is this done?

-Devon
  ----- Original Message ----- 
  From: Yutaka Sato 
  To: feedback@delegate.org 
  Cc: Devon Harding 
  Sent: Thursday, June 05, 2003 4:35 AM
  Subject: Re: [DeleGate-En] host routing?


  On 06/05/03(17:27) you "Devon Harding" <p3ueabdyi-fjxi26avzhtr.ml@ml.delegate.org> wrote 
  in <_A2269@delegate-en.ML_> 
   |Hi, how do I get delegate to route by a specific url/host?  For example, 
   |I would like http://www.domain.com <http://www.domain.com/>  to go to 
   |10.0.0.1 and http://webmail.domain.com <http://webmail.domain.com/>  to 
   |go to 10.0.0.2.  Can this be done?  If so what is the command? 

  Parameters like flollow will do. 

    SRCIF="10.0.0.1:*:*:www.domain.com" 
    SRCIF="10.0.0.2:*:*:webmail.domain.com" 

  See <URL:http://www.delegate.org/delegate/Manual.htm#SRCIF> for more details. 

  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