-1

There is an apache server hosting some website written in PHP and is accessible thru internet. How do configure the apache to resolve 'Missing Cross-Frame Scripting Defence' and can 'Missing Cross-Frame Scripting Defence' warning be ignored?

4
  • Same note as your previous question: I think this is better to ask in SuperUser website. Commented Sep 4, 2015 at 6:33
  • 1
    I think that this question is better suitable for ServerFault than SuperUser. Commented Sep 4, 2015 at 16:06
  • dear moderators, please enlighten me if I should ask in SuperUser or ServerFault. thank you. Commented Sep 8, 2015 at 9:09
  • I'd suggest SuperUser - see how it goes. Commented Sep 8, 2015 at 14:25

1 Answer 1

1

You need to send an X-Frame-Options header, usually with the value "sameorigin". You can do this in Apache using mod_headers, something like:

Header set X-Frame-Options sameorigin

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.