Forum Discussion
irule
It is not clear what you want to do here - you need to explain the technical detail more.
- Do you want to replace the Location header in a redirect?
- Where does the Referer HTTP header come in?
- Do you want to rewrite content sent from the backend server?
If you can explain what you actually want to do, it should be simple enough to write an iRule. If you are not sure, maybe contact F5 Professional Services who can discuss your options, write an iRule, demonstrate it, etc
- aali86Sep 12, 2022Altostratus
Hello Pete,
Sorry, I was stuck in different activities hence i am unable to reply to your message.
When user trying to access test1.abc.com it is should redirect to xyz.abc.com.
Then, user will fill survey for which is made by sharepoint once user submit the survey. then sharepoint redirect to test1.abc.com. if the referrer match with xyz.abc.com for test1.abc.com should not redirect i mean should not causing the issue.
- PeteWhiteSep 12, 2022Employee
Maybe try this
when HTTP_REQUEST { if { [HTTP::host] == "test1.abc.com && ! [HTTP::has_responded] && [HTTP::header Referer] == "xyz.com"} { HTTP::redirect "xyz.com" } }
If not, I suggest you contact F5 Professional Services
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