Forum Discussion
ottleydamian
Cirrus
Aug 17, 2020Replace X-Frame-Options value
I need help with my syntax because it is not identifying and changing the text/value as expected. The response header in question is: X-FRAME-OPTIONS: ALLOW-FROM https://my.identitymanager.com:84...
ottleydamian
Cirrus
Aug 20, 2020Unfortunately, neither of these solutions worked. I tried just the remove, to test and that didn't work either. It seems that we are not catching X-Frame-Options, not sure if ALLOW-FROM is considered part of the header. Suggestions? I will keep trying different things
Dario_Garrido
Noctilucent
Aug 21, 2020Hello Ottley.
I suspect that you executing those command in a wrong event.
My iRule:
when HTTP_RESPONSE {
HTTP::header replace X-Frame-Options "ALLOW-FROM https://biz.identitymanager.com:8443"
}
My F5 response:
< Date: Fri, 21 Aug 2020 06:09:59 GMT
< Server: Apache/2.2.15 (CentOS)
< X-Powered-By: PHP/5.3.3
< Content-Length: 7830
< Connection: close
< Content-Type: text/html; charset=UTF-8
< X-Frame-Options: ALLOW-FROM https://biz.identitymanager.com:8443
Regards,
Dario.
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