From f31dbc38a180ae525eab0093272002544055c324 Mon Sep 17 00:00:00 2001 From: Web Artisan Date: Thu, 7 Apr 2016 09:04:39 +0200 Subject: [PATCH] Enabling CORS using a subdomain for serving the /skin directory that might be having problems with the icon fonts showing in the browser. ``` Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://static.*removed*.com/skin/frontend/ultimo/default/fonts/themeicons/ThemeIcons.woff?387osh. This can be fixed by moving the resource to the same domain or enabling CORS. ``` --- .htaccess | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.htaccess b/.htaccess index 9558281..4e84174 100644 --- a/.htaccess +++ b/.htaccess @@ -227,6 +227,12 @@ SetEnvIf X-Forwarded-Proto https HTTPS=on AddCharset utf-8 .atom .css .js .json .rss .vtt .webapp .xml +##### Enabling CORS on subdomain + + + Header set Access-Control-Allow-Origin "*" + + ##### Disable ETags http://developer.yahoo.com/performance/rules.html#etags #####