1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-15 18:14:07 +02:00

Add IfModule mod_headers.c conditional directive.

This commit is contained in:
Arun S. Sekher 2017-05-20 05:16:04 +04:00
parent 38d2c41bc4
commit d13d2e62e8

View File

@ -106,10 +106,12 @@
</ifmodule>
<FilesMatch "\.(js|css|ico|pdf|flv|jpg|jpeg|png|gif|swf|mp3|mp4|eot|otf|ttc|ttf|woff|woff2)$">
Header set Cache-Control "public"
Header unset Cookie
Header unset Set-Cookie
# Header set Access-Control-Allow-Origin "http://mydomain.com"
<IfModule mod_headers.c>
Header set Cache-Control "public"
Header unset Cookie
Header unset Set-Cookie
# Header set Access-Control-Allow-Origin "http://mydomain.com"
</IfModule>
</FilesMatch>