How can I add feature-Policy header in apache with htaccess?

How can I add feature-Policy header with .htaccess?

Before add feature-Policy 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 feature-Policy header in apache with htaccess!
Header always set Feature-Policy "microphone 'none'; payment 'none'; sync-xhr 'self' https://nesez.com"
Write in htaccess.



Thanks for watching and write the commet to rewrite request or question

Post a Comment

0 Comments