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:
parent
38d2c41bc4
commit
d13d2e62e8
@ -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>
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user