Re: .webfont Proposal

>>  Same-site origin restrictions are simple, font linking is allowed
>>  only when the origin is the same.  CORS is only involved for
>>  *exceptions*, such as a font library wanting to provide general
>>  access to everyone, so 99% of the time authors don't need to worry
>>  about CORS at all.
> 
> Btw, do you know a link for an explanation of how one can do that -
> set Apache to send "Access-Control-Allow-Origin: *" headers to all
> requests? :-)

Something like this in a .htaccess file?

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

Received on Wednesday, 8 July 2009 22:01:36 UTC