mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Add IfModule mod_headers.c conditional directive.
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user