Forum Discussion

Chris_Baiocchet's avatar
Chris_Baiocchet
Icon for Nimbostratus rankNimbostratus
Sep 24, 2020

Set x-frames-options header values depending on URI

Hello,   I am trying to write an irule that sets the x-frame-options header value to SAMEORIGIN or a site, unless the URI contains a specific string. In that case I would want the x-frames-optio...
  • Enes_Afsin_Al's avatar
    Sep 24, 2020

    Hi Chris,

    pay attention to use of "string tolower".

    [string tolower [HTTP::uri]] contains "/docsapi"