x-frame-options apache 2.4 code example Example: apache set x-frame-options <IfModule mod_headers.c> Header set X-Frame-Options "SAMEORIGIN" </IfModule>