[SAC] [OSGeo] #2427: issue with fonts showing on staging.grass.osgeo.org, allow origin update
OSGeo
trac_osgeo at osgeo.org
Wed Jun 24 06:34:43 PDT 2020
#2427: issue with fonts showing on staging.grass.osgeo.org, allow origin update
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
Type: task | Status: reopened
Priority: normal | Milestone: Sysadmin Contract 2020-I
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+---------------------------------------
Changes (by mlennert):
* status: closed => reopened
* resolution: fixed =>
Comment:
We are seeing issues with mirror sites: https://github.com/OSGeo/grass-
website/issues/22. IIUC, in order for CORS to work here (i.e. mirror sites
accessing the fontawesome fonts from the original grass site), the Access-
Control-Allow-Origin header would have to be set to '*' instead of
'https://staging.grass.osgeo.org'.
For that, it seems that something like this would do the trick in the
Apache virtualhost config:
{{{
<FilesMatch ".(eot|otf|ttf|woff|woff2)">
Header always set Access-Control-Allow-Origin "*"
</FilesMatch>
}}}
Would it be possible to try this ?
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2427#comment:5>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Sac
mailing list