Forum Discussion
how multiple applications route through F5 using single irule.
If we have “abc.com” & “xyz.com” two url’s those are published through F5 on 443 port with same virtual server IP. Case 1:- If any request hits to virtual IP it should redirect to 8080 pool & Case 2:- If "/CVwebap" word comes in URL it should route to 9090 pool. How i can write irule of same?
8 Replies
- nitass_89166
Noctilucent
i understand you are using the irule Cory suggested (https://devcentral.f5.com/questions/how-we-can-publish-multiple-applications-on-same-vip-with-same-port-same-iruleanswer93113)
have you captured traffic to see what the wrong is?
sol10209: Overview of packet tracing with the ssldump utility
http://support.f5.com/kb/en-us/solutions/public/10000/200/sol10209.html- mayur_m_150368
Nimbostratus
yes but still i have unclear that irule is not work for me. Do you have any other irule where i can resolve my issue?
- nitass
Employee
i understand you are using the irule Cory suggested (https://devcentral.f5.com/questions/how-we-can-publish-multiple-applications-on-same-vip-with-same-port-same-iruleanswer93113)
have you captured traffic to see what the wrong is?
sol10209: Overview of packet tracing with the ssldump utility
http://support.f5.com/kb/en-us/solutions/public/10000/200/sol10209.html- mayur_m_150368
Nimbostratus
yes but still i have unclear that irule is not work for me. Do you have any other irule where i can resolve my issue?
- nitass
Employee
yes but still i have unclear that irule is not work for me. Do you have any other irule where i can resolve my issue?
i do not see any obvious wrong in the irule. if i were you, i would find out what the wrong is first. so, it can be fixed.
just my 2 cents.
- mayur_m_150368
Nimbostratus
i argee that irule have no issue. because if i splits this irule into parts like if i use only ----------------------------------------------------------------------------------------------- when HTTP_REQUEST { SSL::disable if { [string tolower[HTTP::uri]] contains "cvapweb" } { pool abc_9090 } else { pool abc_8080 } } } it works. ------------------------------------------------------------------------------- but if i use below one, when HTTP_REQUEST { SSL::disable if { [string tolower [HTTP::host]] equals "abc.com" } { if { [string tolower[HTTP::uri]] contains "cvapweb" } { pool abc_9090 } else { pool abc_8080 } } } it is not working... it only shows till security page beyond that it is not going. why is so??
- nitass_89166
Noctilucent
yes but still i have unclear that irule is not work for me. Do you have any other irule where i can resolve my issue?
i do not see any obvious wrong in the irule. if i were you, i would find out what the wrong is first. so, it can be fixed.
just my 2 cents.
- mayur_m_150368
Nimbostratus
i argee that irule have no issue. because if i splits this irule into parts like if i use only ----------------------------------------------------------------------------------------------- when HTTP_REQUEST { SSL::disable if { [string tolower[HTTP::uri]] contains "cvapweb" } { pool abc_9090 } else { pool abc_8080 } } } it works. ------------------------------------------------------------------------------- but if i use below one, when HTTP_REQUEST { SSL::disable if { [string tolower [HTTP::host]] equals "abc.com" } { if { [string tolower[HTTP::uri]] contains "cvapweb" } { pool abc_9090 } else { pool abc_8080 } } } it is not working... it only shows till security page beyond that it is not going. why is so??
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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