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: 15 Apr 2025 at 16:01
📅 Created: 14 Feb 2021 at 23:24
👀 Viewed: 32 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