Re: Adding multiple IP ranges to IfIP

Laszlo Gercsov <[email protected]> Wed, 11 Dec 2019 02:12:22 +0000
Newsgroups gmane.education.ezproxy
Message-ID <SYBPR01MB33390A7DED6A621DDAC3DF15D65A0@SYBPR01MB3339.ausprd01.prod.outlook.com>
Hi Michael.

Maybe you should try removing the space after the ';' semicolon in "140.x.0.0-140.x.255.255; 10.x.0.0-10.x.255.255" ?

Best,

Laszlo.

________________________________
From: EZproxy List <[email protected]> on behalf of Michael A. Wood <[email protected]>
Sent: Wednesday, 11 December 2019 12:34 PM
To: [email protected] <[email protected]>
Subject: [EZPROXY-L] Adding multiple IP ranges to IfIP

Hi All,

My IfIP condition is working with only one IP range.  When I do multiple it fails.  I am not sure if I am writing this correct but I followed the manual.  Perhaps and I not writing this correctly?

This works (single range):
If auth:urn:oid:1.3.6.1.4.1.5923.1.1.1.1 eq "faculty"; {
   IfIP 140.x.0.0-140.x.255.255 {
    Group +WCM
   } Else {
    Deny deny.htm


Thi fails and goes to the deny.htm (multiple ranges):
If auth:urn:oid:1.3.6.1.4.1.5923.1.1.1.1 eq "faculty"; {
   IfIP 140.x.0.0-140.x.255.255; 10.x.0.0-10.x.255.255 {
    Group +WCM
   } Else {
    Deny deny.htm

Thanks for your assistance.


Michael A. Wood

Head, Resource Management &

Qatar Liaison Librarian



Weill Cornell Medicine

S. J. Wood Library & C. V. Starr Biomedical Information  Center

1300 York Ave., C-115

New York, NY 10065

T 646-962.2471


[email protected]<mailto:[email protected]>

Care. Discover. Teach.


________________________________

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/rUHmCNLJxki9qkq4U4TLbD?domain=listserv.oclclists.org>


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