The X-XSS-Protection header is not defined.

User Avatar
👤 admin
🔴 Admin
✍️ The most important thing in the world is to not be alone.
⏳ Last active: 13 Apr 2026 at 22:58
📅 Created: 14 Feb 2021 at 23:24
👀 Viewed: 224 times
✉️ Send Email

If after you have checked your website you see this:


The X-XSS-Protection header is not defined.

Go to httpd.conf and add to the bottom


LoadModule headers_module modules/mod_headers.so

Header set X-XSS-Protection "1; mode=block"

Be shure that Mod_headers is enabled
Restart apache

If you want to comment: Login or Register