If you are just interested in the use of
You can do that with this
.htaccess file at the site root.
Header set Access-Control-Allow-Origin "*"
Some useful information here:
- Access-Control-Allow-Origin Multiple Origin Domains?
- Why should we include ttf, eot, woff, svg,… in a font-face
- htaccess Access-Control-Allow-Origin
- Header set Access-Control-Allow-Origin in .htaccess doesn’t work
- What is the status of TTF support in Internet Explorer?
- Fix custom font line-height with CSS
- How can I use .htaccess rewrite to redirect root URL to subdirectory?
- How to add some non-standard font to a website?
- Redirect non-www to www in .htaccess
- .htaccess redirect all pages to new domain
- How to Block Spam Referrers like darodar.com from Accessing Website?
- Deny all, allow only one IP through htaccess
- How to add multiple font files for the same font?
- .htaccess – how to force “www.” in a generic way?
- Password protect a specific URL
- urlencoded Forward slash is breaking URL
- .htaccess redirect www to non-www with SSL/HTTPS
- Forcing a download using in htaccess
- symfony2 rewrite rules .htaccess app.php
- What exactly does the Multiviews options in .htaccess?
- Remove .php extensions with .htaccess without breaking DirectoryIndex
- Password protecting a directory and all of it’s subfolders using .htaccess
- How to deny access to a file in .htaccess
- How do I install a custom font on an HTML site
- Wait for fonts to load before rendering web page
- Block all bots/crawlers/spiders for a special directory with htaccess
- Rewrite URL after redirecting 404 error htaccess
- htaccess redirect if URL contains a certain string
- Allow/deny image hotlinking with .htaccess
- rewrite a folder name using .htaccess
- Including Google Fonts link or import?
- How to remove .htaccess password protection from a subdirectory
- How to get MAMP to read .htaccess files
- How to remove index.php from URLs?
- ‘hash’ url rewrite in .htaccess
- Loading an external font via inline CSS
- Create webfont with Unicode Supplementary Multilingual Plane symbols
- .htaccess not working on localhost with XAMPP
- How to do htaccess redirect based on cookie value
- Add Trailing Slash .htaccess
- .htaccess, proper rewriting of directory and file with same name
- Mod Rewrite redirect URL with query string to pretty url
- Need to redirect all traffic to https
- Fallback fonts on special characters
- What is L in [QSA, L] in htaccess
- Issue In Removing Double Or More Slashes From URL By .htaccess
- .htaccess redirect – automatically add www. if no subdomain exists
- RewriteRule that preserves GET parameters
- Preloading @font-face fonts?
- How to use .htaccess in WAMP Server?