Re: iFrost error - "No Access-Control-Allow-Origin" header is present
Robert Sebek <[email protected]>
| Newsgroups | gmane.education.ezproxy |
|---|---|
| Message-ID | <CAKQoDffxZ2fZXkxYjB2HsOVHP-ZAz9P0oecbm-JvTvJwS3FvHw@mail.gmail.com> |
CORS is Cross Origin Resource Sharing, and it comes in play here because a script is trying to do something on a page that originates at a different origin (your proxy server) than what it is expecting (the vendor's server). If you proxy the source of the script, then it will be from the same origin and that usually fixes this error. In his case I would add HJ https://ifrost.frost.com and MimeFilter application/json .* javascript to this stanza. On Thu, Sep 5, 2019 at 10:20 AM Emilie Liard <[email protected]> wrote: > Hi, > > > Did it work? > > > I'm no expert but we've had to troubleshoot this kind of issue several > times on various resources, and an AnonymousURL or NeverProxy line usually > solves it. > > Though I'd be very grateful if someone could explain what either actually > does! ;) > > > So I'd try adding : > > > *AnonymousURL +https://ifrost.frost.com <https://ifrost.frost.com>**/** > > > before the title > > and > > > *AnonymousURL -** > > > at the end of the stanza. > > > Good luck! > > > Emilie Liard > Gestion centralisée des abonnements > Signalement et informatique documentaire > [image: univ-rennes1] <https://www.univ-rennes1.fr/> > > *Service commun de la documentation (SCD)* > > 18 av. Charles Foulon > 35000 Rennes > bibliotheques.univ-rennes1.fr > > +33 (0)2 23 23 70 47 > > <https://twitter.com/UnivRennes1> <https://fr-fr.facebook.com/UnivRennes1> > www.univ-rennes1.fr > > Le 05/09/2019 à 15:42, Wong, Elizabeth [MV] a écrit : > > Hi, > > Do you have any recommendations for troubleshooting a console error > related to “Access-Control-Allow-Origin header?: > > > > > > We’ve added a custom HJ line for iFrost to the standard Frost & Sullivan > stanza: > > > > Title Frost & Sullivan (updated 20190328) > > URL http://www.frost.com > > HJ https://cds.frost.com > > HJ cds.frost.com > > HJ ifrost.frost.com:443 > > Host www.frost.com > > DJ frost.com > > Find e.href = "http:"+e.href.substr(6) > > Replace e.href = "http://^pwww.frost.com^/"; + e.pathname + e.search > > > -- Robert Sebek Discovery Services, University Libraries (http://www.lib.vt.edu/) ******************************************************************** If you wish to stop receiving messages from EZPROXY-L or otherwise amend your preferences, you can do so <a href="https://www.oclc.org/forms/internet-subscription.en.html">here</a>. Or email [email protected] including the relevant text below in the body of the email: • To unsubscribe: "unsubscribe EZPROXY-L" • To receive EZPROXY-L in digest form: "set EZPROXY-L digest" • To set your options to no mail: "set EZPROXY-L nomail" • To receive these messages in the future "set EZPROXY-L mail" To contact the list owners directly please send your message to [email protected]. If you unsubscribe from EZPROXY-L, you will no longer be able to participate in any of its features, including the public forum. To unsubscribe from all OCLC marketing email communications (including all OCLC listervs, OCLC Connect emails, OCLC event notifications, product/service/cooperative updates and newsletters), please email us at [email protected].
mpcihebccljokafm.jfif
(image/jpeg, 1.6 KB) - not displayed
liahfpohmffcoagj.png
(image/png, 5.4 KB) - not displayed
ocikaebhgpjpadml.jfif
(image/jpeg, 803 B) - not displayed
feibapeefokiamln.jfif
(image/jpeg, 916 B) - not displayed
onfemocbdfpbfmfo.jfif
(image/jpeg, 1.3 KB) - not displayed
jjhacalmhhadjpjj.jfif
(image/jpeg, 1.1 KB) - not displayed
image001.jpg
(image/jpeg, 40.3 KB) - not displayed