mirror of
https://github.com/e107inc/e107.git
synced 2025-08-14 02:24:08 +02:00
Static domain header added and example added to e107.htaccess
This commit is contained in:
@@ -103,10 +103,11 @@
|
||||
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css text/javascript application/x-javascript application/javascript application/xml text/xml application/rss+xml
|
||||
</ifmodule>
|
||||
|
||||
<FilesMatch "\.(js|css|ico|pdf|flv|jpg|jpeg|png|gif|swf|mp3|mp4)$">
|
||||
<FilesMatch "\.(js|css|ico|pdf|flv|jpg|jpeg|png|gif|swf|mp3|mp4|eot|otf|ttc|ttf|woff)$">
|
||||
Header set Cache-Control "public"
|
||||
Header unset Cookie
|
||||
Header unset Set-Cookie
|
||||
# Header set Access-Control-Allow-Origin "http://static.mydomain.com"
|
||||
</FilesMatch>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user