Forum Discussion
ninjapug_67378
Nimbostratus
Jul 01, 2011Reverse Proxy
I have 1 Public IP address. 203.154.77.81
I have 3 Apache web servers with an internal IP addresses of
ServerA = 192.168.1.101
ServerB = 192.168.1.102
ServerC = 192.168.1.103
When i type http://203.154.77.81/serverA
i expect it to be directed to 192.168.1.101.
When i type http://203.154.77.81/serverB
i expect it to be directed to 192.168.1.102.
How do i do that.
4 Replies
- hoolio
Cirrostratus
You can try something like this:when HTTP_REQUEST { Check the requested URI with wildcards switch [HTTP::path] { "/serverA*" { node 192.168.1.101 80 } "/serverA*" { node 192.168.1.102 80 } } }
Another more functional option would be something like this:
http://devcentral.f5.com/wiki/default.aspx/iRules/Select_pool_member_based_on_HTTP_query_string_parameter.html
Aaron - ninjapug_67378
Nimbostratus
Thank You i will try that out - wolf_98863
Nimbostratus
fasdf afas - Leandro_Pereira
Nimbostratus
tks.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
