mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 19:44:09 +02:00
Issue #2600 defining e_HTTP_STATIC now applies to images (using thumbUrl/toImage) as well as js/css.
eg. define('e_HTTP_STATIC', 'http://static.mydomain.com/');
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
### Security
|
||||
ServerSignature Off
|
||||
|
||||
#Header unset Pragma
|
||||
|
||||
# secure htaccess file
|
||||
<Files .htaccess>
|
||||
order allow,deny
|
||||
@@ -103,11 +105,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|eot|otf|ttc|ttf|woff)$">
|
||||
<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://static.mydomain.com"
|
||||
# Header set Access-Control-Allow-Origin "http://mydomain.com"
|
||||
</FilesMatch>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user