On Sun, Oct 26, 2008 at 6:41 PM, uday <[EMAIL PROTECTED]> wrote:
...
> Well this worked out :
>
> # nc 192.168.4.78 80
> GET /
> <html><body><h1>It works! web01 </h1></body></html>
>
> # nc 192.168.4.76 80
> GET /
> <html><body><h1>It works! web02 </h1></body></html>

Ick: those are pre-HTTP-1.0 requests, as they lack a protocol and
version identifier.  What relayd actually sends is a HEAD request with
protocol HTTP/1.0.  You don't specify a hostname in your config, so it
doesn't send a Host: header field.  Try those again using something
like:
   printf "HEAD / HTTP/1.0\r\n\r\n" | nc 192.168.4.76 80

to better emulate the test made by relayd.


Philip Guenther

Reply via email to