Posted By

johnloy on 03/04/10


Tagged

css Firefox fonts font-face


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

matylla


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


 / Published in: Apache
 

  1. # example Apache .htaccess file to add access control header
  2.  
  3. <FilesMatch "\.(ttf|otf)$">
  4. <IfModule mod_headers.c>
  5. Header set Access-Control-Allow-Origin "*"
  6. </IfModule>
  7. </FilesMatch>

Report this snippet  

You need to login to post a comment.