[FFmpeg-devel] Cross-origin resource error on fate.ffmpeg.org

Michael Niedermayer michaelni at gmx.at
Thu Sep 18 05:01:53 CEST 2014


On Wed, Sep 17, 2014 at 07:16:30PM -0700, Daniel Verkamp wrote:
> On Wed, Sep 17, 2014 at 12:59 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > On Wed, Sep 17, 2014 at 11:33:32AM -0700, Daniel Verkamp wrote:
> >> Hi FFmpeg web folks,
> >>
> >> When visiting http://fate.ffmpeg.org/ using a browser that enforces
> >> CORS[1], loading the FontAwesome icon font causes this error:
> >>
> >>   Font from origin 'https://ffmpeg.org' has been blocked from loading
> >> by Cross-Origin Resource Sharing policy: No
> >> 'Access-Control-Allow-Origin' header is present on the requested
> >> resource. Origin 'http://fate.ffmpeg.org' is therefore not allowed
> >> access.
> [...]
> >
> > as you seem to know this / have researched it already
> > can you post what i need to add to httpd.conf to make this work ?
> 
> Something like this (untested) should work:
> 

> <Location /fonts/>
>   Header set Access-Control-Allow-Origin "*"
> </Location>

added

seems to work

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is what and why we do it that matters, not just one of them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140918/8c1123d9/attachment.asc>


More information about the ffmpeg-devel mailing list