opencart/opencart — pull request #1206 by chimeraha (2014-02-11 21:50:48+00:00)
Title: added htacess commented option for font-awesome

I have two different subdomains that root at the same open cart install.
Font-awesome doesn't allow the other alternate subdomain to use the font files.

adding

Header set Access-Control-Allow-Origin "*"

fixes this.

For example: If you have an existing website, foo-company.com that roots at ~/public_html and want to install opencart to store.foo-company.com that roots at ~/publc_html/store, font-awesome will work for store.foo-company.com, but it will not work for foo-company.com/store

This edit fixes it so that icons will display correctly in both urls.