Forum Discussion

Loc_Luu_180352's avatar
Loc_Luu_180352
Icon for Nimbostratus rankNimbostratus
Dec 17, 2014

F5 do not redirect link when user virtual server

Hello all, I have a Oracle E-Bussiness app at the link: http://abc.com:8000/OA_HTML/AppsLogin. And i configure F5 to loadbalancing with following configuration: - Virtual Server: xyz.com. Port: 80. Source Address Tranlation: Automap. - Server Pool: abc.com. Port: 8000. But when i use browser and go to the link: http://xyz.com. The address bar turn into the orginal address (http://abc.com:8000/OA_HTML/AppsLogin). My goal: Redirecting http://xyz.com to http://abc.com:8000/OA_HTML/AppsLogin is transparent with user. Anybody help? Many thanks!

 

5 Replies

  • Hi,

     

    As advance option, Please check if the below solution could help to achieve the goal using rules:

     

    SOL15085: Overview of the Local Traffic Policies feature

     

    Starting with BIG-IP 11.4.0, the Local Traffic Policies feature provides a way to classify traffic based on a list of matching rules, and then to run specific actions, such as, directing all HTTP traffic to the BIG-IP ASM system for security checks based on the configured security policy, redirecting traffic received on an HTTP virtual server to an HTTPS virtual server, sending traffic to a load balancing pool based on header data, or refining the types of traffic to be collected for statistical analysis in BIG-IP Analytics, etc.

     

    After going through above link:

     

    Create a policy with Strategy as first-match, Requires select http, Controls as forwarding create a rule inside the policy as mentioned below select http-uri as Operand, Event as request* and conditional requirements (non case sensitive) with the Value (e.g., /yahoo etc.,) Followed by Actions tab with Target: forward, event as request* and parameter select the Parameters (probably pool name as Value). Do not forget to attach the above policy name in ltm virtual configuration, to make this effective..