Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. Restful APIs 403 forbidden error

    Restful APIs 403 forbidden error

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers

     

    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care

     

    Description

    A "403 forbidden" error occurs in Restful APIs. 
     

    Resolution

    Aleph 22 AIK creates default server.xml file that includes the line: 
    <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="127\.0\.0\.1|10\.1\.49\.40"/> 
    This means that only local IPs are allowed. To allow access to all IPs, remove this line from $aleph_dev/ng/aleph/home/system/thirdparty/tomcat/conf/server.xml. 

    To allow specific IPs, add IPs to this file in Regular Expression.

     


    • Article last edited: 15-May-2016
    View article in the Exlibris Knowledge Center
    1. Back to top
      • RESTful API: Retrieve active (open) ILL requests only
      • Restfull APIs not working; Aleph SP 20.2.6
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 403
      2. API
      3. forbidden
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved