Forum Discussion
iFrames iRule
I agree with Dario that this seems a job for the Dev Team. F5 has options to modify the content in the server response with Stream profile or HTTP::payload replace but for such a thing it will be complicated:
https://support.f5.com/csp/article/K39394712
https://support.f5.com/csp/article/K7027
https://clouddocs.f5.com/api/irules/STREAM__expression.html
https://clouddocs.f5.com/api/irules/HTTP__payload.html
https://support.f5.com/csp/article/K07535385
- drodycMay 27, 2021
Nimbostratus
It seems as though our backend server guys would rather us have our BIG-IP to make this work as oppose there servers. I have tried the iRule below. The distant end users reported that it did not work. I used our backend server's URL and our distant end user's URL and both was unsuccessful. Is this iRule below is all I need or am I missing other lines? Should the 1st line be HTTP_RESPONSE or HTTP_REQUEST?
- when HTTP_RESPONSE {
- #X-Frame-Options
- HTTP::header insert X-Frame-Options "ALLOW-FROM https://mydomain.com/"
- }
Is it recommended to use this iRule below?
- when HTTP_RESPONSE {
- HTTP::header replace X-Frame-Options "SAMEORIGIN"
- }
Lastly, do I need to modify a DB value in CLI or is that only for APM? Thank you so much!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
