On Tue, 25 Sep 2007 23:25:44 +1200
Josh <[EMAIL PROTECTED]> wrote:

>  Well after trying it, it appears there _IS_ a problem there. One of
> the services was not
> working. As soon as I gave it its own separate tables, it worked.
> 
> Pierre-Yves Ritschard wrote:
> 
>     Anyway, my question is, can I use the same tables in multiple
> service entries? ( one for each connection )
> 
>   no problem there.
> 
the following works:

webhost1=a.b.c.d
webhost2=e.f.g.h
public1=w.x.y.z
public2=w.x.y.z

table web1 {
        real port http
        check http "/" code 200
        host $webhost1
}

table web2 {
        real port http
        check http "/" code 200
        host $webhost2
}

table sorry {
        check icmp
        real port http
        host 127.0.0.1
}

service www1 {
        virtual host $public1 port 80
        table web1
        backup table sorry
}

service www2 {
        virtual host $public2 port 80
        table web2
        backup table sorry
}

Reply via email to