Print

Print


> Is this something that can be done using 
> Find/Replace with the ^A modifier?

I don't think so, after reading the documentation.  But thank you for those links, Albert, I really appreciate it.

I think the ultimate issue is that, when the browser fetches the recaptcha Javascript, it sends a referrer that says this is from my proxy server instead of the vendor site.

So, unless EZProxy is set-up to manipulate the HTTP referrer header -- which I'm thinking is unlikely if not impossible -- then it's not something we can fix on the EZproxy side.

--Dave

==================
David Walker
Library Web Services Manager
California State University
http://xerxes.calstate.edu
________________________________________
From: Code for Libraries [[log in to unmask]] On Behalf Of Bertram, Albert [[log in to unmask]]
Sent: Tuesday, August 25, 2009 1:08 PM
To: [log in to unmask]
Subject: Re: [CODE4LIB] EzProxy and recaptcha

Hi Dave,

Is this something that can be done using Find/Replace with the ^A modifier?

Find NAME="_PRIORREFERER" VALUE="http://
Replace NAME="_PRIORREFERER" VALUE="http://^A

The documentation says it only works after http:// or https://,  so it may not work if you're only passing the hostname around.

http://pluto.potsdam.edu/ezproxywiki/index.php/Find_And_Replace
http://www.oclc.org/us/en/support/documentation/ezproxy/cfg/find/
http://www.oclc.org/support/documentation/ezproxy/db/lexisnexis.htm

Cheers,

Albert

________________________________________
From: Code for Libraries [[log in to unmask]] On Behalf Of Walker, David [[log in to unmask]]
Sent: Tuesday, August 25, 2009 3:33 PM
To: [log in to unmask]
Subject: [CODE4LIB] EzProxy and recaptcha

Casting a net far and wide on this, sorry.

We're using EZproxy to proxy a website that also happens to have reCaptcha on it.

I guess reCaptcha keys are tied to domain names, so when the Javascript is brought into the page via the <!cript /> tag, it sees that the page is 'proxy.example.edu' instead of 'www.vendorsite.com', and we end-up with an error from reCaptcha saying:

   This reCAPTCHA key isn't authorized for the given domain.

That all makes sense.  But can anyone fathom a workaround?

--Dave


==================
David Walker
Library Web Services Manager
California State University
http://xerxes.calstate.edu