How can I add X-XSS-Protection header with .htaccess?
Before add X-XSS-Protection header with htaccess,
First, you must activate rewrite module.
First, you must activate rewrite module.
Ctrl+v this code in terminal.
sudo a2enmod rewrite
If you finished the rewrite activating, You can use htaccess in apache.
Let's add X-XSS-Protection in apache with htaccess!
Header set X-XSS-Protection "1; mode=block"
Write in htaccess.
Thanks for watching and write the commet to rewrite request or question
0 Comments