Forum Discussion
Parveez_70209
Nimbostratus
Sep 06, 2013How Can we Redirect the below Requirement
Currently, the https://kauffman.xyz.com URL points to http://ktprdapp1.xyz.com:7001
How can we add one more URL like below:
The F5 url https://kauffman.xyz.com/ibmcognos should point to http://k...
Kevin_Stewart
Employee
Sep 06, 2013So just to be clear, external users access the site using "https://kauffman.xyz.com", which is a VIP on the F5. You want any request to "/ibmcognos" to go to a port 80 pool, and then everything else to go to a port 7001 pool. Correct?
If so, then:
-
Define a port 7001 pool (ex. "my_7001_pool") - assign this as the default pool in the VIP configuration
-
Define a port 80 pool (ex. "my_80_pool")
-
Define an iRule like the following:
when CLIENT_ACCEPTED { set default_pool [LB::server pool] } when HTTP_REQUEST { if { [string tolower [HTTP::uri]] starts_with "/ibmcognos" } { pool my_80_pool } else { pool $default_pool } }
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