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 [code4...@listserv.nd.edu] On Behalf Of Walker, David 
[dwal...@calstate.edu]
Sent: Tuesday, August 25, 2009 3:33 PM
To: CODE4LIB@LISTSERV.ND.EDU
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 <script /> 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

Reply via email to