W3C home > Mailing lists > Public > www-font@w3.org > July to September 2009

Re: .webfont Proposal

From: Dave Crossland <dave@lab6.com>
Date: Wed, 8 Jul 2009 23:36:43 +0100
Message-ID: <2285a9d20907081536j6cb7339bl432548cce9ffada7@mail.gmail.com>
To: John Daggett <jdaggett@mozilla.com>
Cc: www-font <www-font@w3.org>
2009/7/8 John Daggett <jdaggett@mozilla.com>:
>>>  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?

That works great :-)

I've documented it at

http://openfontlibrary.org/wiki/Web_Font_linking_and_Cross-Origin_Resource_Sharing#Allowing_other_sites
Received on Wednesday, 8 July 2009 22:37:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 11 June 2011 00:14:02 GMT