Forum Discussion
Kalpesh_48932
Feb 13, 2012Nimbostratus
Http_referrer in iRule
Can anyone tell me how to use HTTP_Referrer in iRule...?
I have my current rule is
when HTTP_REQUEST { if {[active_members [LB:erver pool]] < 1} { HTTP::redirect "http://dev-sorry...
Kalpesh_48932
Feb 20, 2012Nimbostratus
•When a user reaches the VIP via http://dns1.com for which application is down, he must be redirected to http://dns2.com
•On this dns2.com service, we will display a “sorry-page” depending on the original URL entered (dns1.com). For this we need the info either
oVia HTTP_REFFERER HTTP header (http://en.wikipedia.org/wiki/HTTP_referer) which will contain ‘http://dns1.com’ value (but it looks like F5 removes this information)
oVia a GET parameter : user must be redirected to http://dns2.com/?origin=http://dns1.com , where origin parameter is the original URL entered by the user.
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