.htaccess rule to allow cross-site embedded font sharing in Firefox

Submitted by:David Villa

Date added:05 November, 2013

Category:Apache

Example Apache .htaccess file to add access control header

Tags: access control , cross-site embed , header

Code Snippet:

<FilesMatch "\.(ttf|otf)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
 
 

Comments