Forum Discussion
Muhammad_Irfan1
Cirrus
Oct 21, 2014Proxypass in F5
Hey all the experts of F5, i am network guy please help me out and make an iRule for me and please don't direct me to some Apache proxy pass iRule link as its hard for me to change.
Actually i w...
- Oct 21, 2014
when HTTP_REQUEST { if {[HTTP::uri] starts_with "/test/"} { pool client_servers } else { pool default_pool } }EDIT: I fixed the syntax error and added another : to HTTP::uri.
R_Eastman_13667
Oct 21, 2014Historic F5 Account
when HTTP_REQUEST {
if {[HTTP::uri] starts_with "/test/"} {
pool client_servers
}
else {
pool default_pool
}
}
EDIT: I fixed the syntax error and added another : to HTTP::uri.
Muhammad_Irfan1
Cirrus
Oct 21, 2014Sir the iRule you post is not accepted by LTM, Can you please complete the iRule, the error generated is
01070151:3: Rule [/Common/proxypass1] error: /Common/proxypass1:2: error: [undefined procedure: HTTP:uri][HTTP:uri]
and please modify it with multiple "if" statements. I have many conditions like if starts with /test/ then pool this and if starts with /test1/ then pool this...
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