I have an e-shop in Opencart 2.2.0.0. The data are uploaded on http://webian.akis.cz/kukin/brother.nah ... z/opencart. I also have a domain tiskarny.nahradko.cz. On our server (webian.akis.cz) I have the virtual host. So if someone writes http://tiskarny.nahradko.cz the data from webian are displayed. If I run my eshop from webian, everything is OK. But if I run e-shop from tiskarny.nahradko.cz, the font-awesome disappear. In console I get
http://webian.akis.cz/kukin/brother.nah ... f2?v=4.4.0. (Reason: missing header CORS 'Access-Control-Allow-Origin')
Code: Select all
<IfModule mod_headers.c>
<FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css|css)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>