| Patrick Finnegan 2004-06-29, 3:22 am |
| chppxf1@yahoo.com.au (Patrick Finnegan) wrote in message news:<a1538a71.0406232101.46de7490@posting.google.com>...
> Problem: Network Dispatcher does not send http 1.1 host header in
> http advisor string.
>
> Running IBM Network Dispatcher on:
>
> Apr19 11:09:59.953 GMT+08:00 SRV: KNDServer Version: 04.00.03.0 -
> 01/30/2003-01:36:24-GMT-5:00
> Apr19 11:09:59.953 GMT+08:00 SRV: Operating System: Windows 2000
> Apr19 11:09:59.953 GMT+08:00 SRV: Operating System Version: 5.0
>
> Server Definition:
>
> ndcontrol server add 1.1.1.1:80:xxxx.yyyy.com.au address 1.1.1.2
>
> Http advisor string:
>
> ndcontrol server set 1.1.1.1:80:xxxx.yyyy.com.au advisorrequest "GET
> /ContextR HTTP/1.1\r\nHost: xxxx.yyyy.com.au\r\nAccept:
> */*\r\nUser-Agent:"
No work around for standard advisor. Must use custom advisor.
>
> Apache Log - Advisor Request:
>
> 192.0.8.46 - - [24/Jun/2004:12:35:03 +0800] "GET /ContextR HTTP/1.1"
> 302 0 "-" ", IBM_Network_Dispatcher_HTTP_Advisor" "-"
>
> Apache Log - Browser Request: contains host name xxxx.yyyy.com.au
>
> 192.0.1.31 - - [23/Jun/2004:18:38:51 +0800] "GET /ContextR HTTP/1.1"
> 304 0 "http://xxxx.yyyy.com.au/ContextR/main.jsp?action=xxxxx"
> "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)" "-"
>
> There are multiple Apache virtual hosts running on the Apache server
> all resolving to the same IP i.e:
>
> xxxx.yyyy.com.au
> aaaa.bbbb.com.au
> cccc.dddd.com.au
>
> If the host name is not supplied in the get request then a request for
> aaaa.bbbb.com.au defaults to the first virtual host definition in the
> Apache config file i.e. xxxx.yyyy.com.au.
>
> Can the default http advisor supply the host name?
|