Re: neverproxy directive

Dino YEO <[email protected]> Wed, 20 Nov 2019 00:58:18 +0000
Newsgroups gmane.education.ezproxy
Message-ID <EAD3101C79C0B647AE4984AF3E75C0E921B330E6@EXCHPD11.staff.smu.edu.sg>
SMU Classification: Restricted

Hi Simon,

Laszlo has a better suggestion, I forgotten about this directive: SPUEdit
You should try this instead of the one I have suggested :)

Best Regards,
Dino Yeo
Library Specialist
SMU Libraries
Singapore Management University

From: EZproxy List <[email protected]> On Behalf Of Laszlo Gercsov
Sent: Wednesday, November 20, 2019 6:50 AM
To: [email protected]
Subject: Re: [EZPROXY-L] neverproxy directive

Hi Simon.

Put this line before the Https://www.mysite.com stanza :-

SPUEdit @^Https://www.mysite.com/dontproxythis.js$@Https://www.mysite.com/dontproxythis.js@ir

The first URL is case sensitive. The second URL does not include your ezproxy host name, so the browser will be redirected to the unproxied URL.

Best,

Laszlo.

Laszlo Gercsov

Senior Systems Analyst Library Systems

Library  |  Level 4
16 Macquarie Drive
Macquarie University, NSW 2109, Australia

T: +61 2 9850 6533 | F: +61 2 9850 7568

M: + 61 402 175 101  |  mq.edu.au/library<http://mq.edu.au/>

[Macquarie University]<http://mq.edu.au/>

CRICOS Provider Number 00002J. Think before you print.
Please consider the environment before printing this email.

This message is intended for the addressee named and may
contain confidential information. If you are not the intended
recipient, please delete it and notify the sender. Views expressed
in this message are those of the individual sender, and are not
necessarily the views of Macquarie University

________________________________
From: EZproxy List <[email protected]<mailto:[email protected]>> on behalf of Simon Garnett <[email protected]<mailto:[email protected]>>
Sent: Tuesday, 19 November 2019 5:57 PM
To: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>>
Subject: Re: [EZPROXY-L] neverproxy directive

Is it possible to proxy a domain generally but to never proxy just one specific path?

Eg I want to proxy

Https://www.mysite.com<https://protect-au.mimecast.com/s/1w0zCWLVn6ixxqWJt6NJgL?domain=mysite.com>

For all paths except for

Https://www.mysite.com/dontproxythis.js<https://protect-au.mimecast.com/s/buVMCXLW6DiGGKzwiVL1ZO?domain=mysite.com>

I've tried to achieve this using the Neverproxy directive on that specific path but that just then stops proxying mysite entirely.

Thanks
Simon


On Tue, 19 Nov 2019 at 01:51, Laszlo Gercsov <[email protected]<mailto:[email protected]>> wrote:
Hi Gary.

It appears that your ezproxy is configured to allow unproxied access to sites whch should not be proxied.

If you just exclude URLs from your ezproxy configuration, ezproxy will prevent access to those sites.

You can get links which include your ezproxy server, coming from diverse sources eg DOI links, which end up with links on sites for which you have no subscription.
In that case, your users would be blocked with a "host needed" message.

If you configure ezproxy to "neverproxy" those hosts, the user will get to the content, but not via ezproxy.

Best,

Laszlo.

Laszlo Gercsov

Senior Systems Analyst Library Systems

Library  |  Level 4
16 Macquarie Drive
Macquarie University, NSW 2109, Australia

T: +61 2 9850 6533 | F: +61 2 9850 7568

M: + 61 402 175 101  |  mq.edu.au/library<http://mq.edu.au/>

[Macquarie University]<http://mq.edu.au/>

CRICOS Provider Number 00002J. Think before you print.
Please consider the environment before printing this email.

This message is intended for the addressee named and may
contain confidential information. If you are not the intended
recipient, please delete it and notify the sender. Views expressed
in this message are those of the individual sender, and are not
necessarily the views of Macquarie University

________________________________
From: EZproxy List <[email protected]<mailto:[email protected]>> on behalf of Gary Thompson <[email protected]<mailto:[email protected]>>
Sent: Tuesday, 19 November 2019 5:27 AM
To: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>>
Subject: [EZPROXY-L] neverproxy directive


Hi all,



As a fairly new EZproxy admin, I am going through the collection of configuration files to make sense of the way they've evolved over the years. I hope to clean them up over the December break, before classes started again in January.



One puzzling item (of many) is a list of more than 550 urls that are specified with the "neverproxy" directive. The list seems somewhat arbitrary and random, at least to a novice.



Does anyone else have a list of sites to not proxy? Can you explain why you would add a URL to this list? Although I didn't check all of them, so far I can't find one is configured to be proxied. It seems that if the URL is not listed as a proxied site, there would be no reason to add it to this list.



Maybe this directive was necessary in an older version of EZproxy? Its purpose eludes me.



I am also asking among the staff here at the USC Libraries to see if there is institutional memory that can explain it, but I suspect that this community may be able to provide some insight. I'd be grateful for any replies.



Thanks,

Gary

________________________________

Gary Thompson

USC Libraries

Integrated Library Systems Team

3434 South Grand Ave<https://protect-au.mimecast.com/s/-Uo_CYW86Esggl4rt96AoC?domain=google.com>, CAL-208

Los Angeles, CA 90007



voice: 213.740.6913



________________________________

To unsubscribe from the EZPROXY-L list, click the following link:
http://listserv.oclclists.org/scripts/wa.exe?SUBED1=EZPROXY-L&A=1<https://protect-au.mimecast.com/s/SG6KCZY146sxxgpJtycGr5?domain=listserv.oclclists.org>

________________________________

To unsubscribe from the EZPROXY-L list, click the following link:
http://listserv.oclclists.org/scripts/wa.exe?SUBED1=EZPROXY-L&A=1<https://protect-au.mimecast.com/s/SG6KCZY146sxxgpJtycGr5?domain=listserv.oclclists.org>

________________________________

To unsubscribe from the EZPROXY-L list, click the following link:
http://listserv.oclclists.org/scripts/wa.exe?SUBED1=EZPROXY-L&A=1<https://protect-au.mimecast.com/s/SG6KCZY146sxxgpJtycGr5?domain=listserv.oclclists.org>

________________________________

To unsubscribe from the EZPROXY-L list, click the following link:
http://listserv.oclclists.org/scripts/wa.exe?SUBED1=EZPROXY-L&A=1


********************************************************************
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].