BIG-IP Solutions: Simple URL Redirect Using Policies
BIG-IP Solutions: Simple URL Redirect Using Policies
Many people use iRules for URL redirects, but the BIG-IP offers policies to do this for you. Policies are faster than iRules, they are easier to manage, and you don’t have to know the exact scripting language code to use them. Check out this video where John provides some “BIG-IP Solutions” to show you how to do simple URL redirects using policies.
could we only do this on a http vip?
The disadvantage of this way is that it will always be a 302 (temporary) redirect. It’s also not possible to reuse parts of the path in the original request in the redirect.
Otherwise I really like policies and use them a lot to select pools, enable serverside ssl, etc…
How do I preserve url extention using policy. say http://www.xyz.com/abc forward to http://www.qa.com/abc
Hi I want to append URI in this case so if user hits test.com/resources/ it should redirect to https://devcentral.com/resources
Basically URI should not change it should append
Very nice! thanks F5 for this video.
if I want to redirect the "www.exapmle.com" to the "non-www example.com", would the policy helpful or it only needs to be done via irule?
I thought policies were essentially a GUI that still uses TCL/iRules for the actual function? Is that not the case?
How i can forward the request to different servers without redirecting (do not want 3XX status). I do not want a redirect but a forward so backend code do not get a 3XX status .
Hello,
I have one question, here you explained when VS is for HTTP requests, but how i can accomplish if i want to next: if someone try http://test.com or https://test.com to be redirected on https://my_site.com
do i need to create 2 VS or is this possible at all?
Thanks.
Hello Thank you for the video. I’ve a question here. I want to perform ssl offloading to a server that operates on port 9502. I’ve created pool contains node that listens on port 9502 and created vserver that listens on port 80 that matches the pool and I can access the web using http://server:9502, however when I perform the same on https vserver using port 443 it doesn’t work. it doesn’t on https even on port 9502. I’m not sure what should i do ?
how to configure url redirect to specific pool? for example /trackingnew_sb to pool A and /trackingold_sb to pool B
Hi F5 :
We have 1 problem. we use 1 uri have ( 2 http)ex:
http://uat-pcm-app01.ena.com:9001/ARXAuth/LoginScreen.jsp?redirectURL=http://uat-pcm-app01.ena.com:9001/ARXAL/AALIndex.jsp&userType=Cop : access direct to Server (OK)
But via F5 and use irule (F5) redirect it only redirect only 1 http >> https
1/ https://pcmuat-bo.ena.com/ARXAuth/LoginScreen.jsp?redirectURL=http://pcmuat-bo.ena.com:80/ARXAL/AALIndex.jsp&userType=Cop ( if use via F5 we use domain name )
( access fail)
if we try test and use uri
2/ https://pcmuat-bo.ena.com/ARXAuth/LoginScreen.jsp?redirectURL=https://pcmuat-bo.ena.com/ARXAL/AALIndex.jsp&userType=Cop (OK) (2)
How do you do redirect with URI 2 ?
Please help use
How to create a forward to conditional IP with resolution? For example, I Have 2 IPs 10.10.1.12 e 10.10.1.13 e wish to create resolution and conditional to zones below: infra.etc; tst.infra.etc and tsl.infra.elo ?