Hey,

thanks a lot for your kind reply, and sorry for this late answer.

>> In the Paper "Recent work in OpenBSD relayd" from 2013 there is an
>> example with: match request path "/images" relay-to 10.1.1.1
>> Basically I need that and a second statement with
>> match request path "/app" relay-to 10.1.1.2

> on case this was not answered yet:
> 
> Use the following in your protocols section:
> 
>    match request path "/some/path/**" forward to <extratable>
> 
> You need something like
> 
>    forward to <extratable> port www mode roundrobin \
>                check http "/" code 200 timeout 1000
> 
> in your relay section as well.


This is great, it seems to work like a charm! My configuration now has two 
tables
defined <rails> and <apache>. In the protocols section, I have then

        match request path "/collab/**" forward to <rails>
        match request path "/svn/**" forward to <apache>
        match request path "/hg/**" forward to <apache>

and in the relay section I got:

        forward to <apache> port 8888
        forward to <rails> port 8000

That was a nice holiday present, thank you!
Harald

Reply via email to