Scott_S_160682
Nov 25, 2014Nimbostratus
How do I route traffic to a specific directory on a node?
I have a couple of nodes that serve webpages on:
I can connect directly to the server using, and the page displays fine. However, if I use http://server1:9080, I get an error - the virtual directory hasn't been created.
I tried using an irule to rewrite the url sent to the node:
when HTTP_REQUEST_RELEASE { HTTP::header replace Host "[LB::server addr]:9080/website" }
The irule partially worked and sent traffic to http://server1%12:9080 (the F5 has 2 route domains) but didn't add /website after the port number.
Is there another way to get to a specific directory on a node?