mod_headers not working in .htaccess EA4 - CGI

dotnetpoints

Registered
Nov 29, 2017
2
0
1
India
cPanel Access Level
Website Owner
Hi,

I setup cPanel on my VPS and migrate my sites there but mod_headers are not working which are set in .htaccess file.

<IfModule mod_headers.c>
Header always set X-XSS-Protection "1; mode=block"
Header always append X-Frame-Options SAMEORIGIN
</IfModule>

I am using EA4,PHP 5.6 and CGI Handler.

I checked this Migrated to EA4, mod_headers not working in .htaccess thread but could not find any solution.

Please let me know what changes I need to do so all mod_handlers will work properly.