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. Custom http headers

    Custom http headers

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Description
    2. Resolution
    3. Additional Information
    • Product: Aleph
    • Product Version: 21, 22, 23
    • Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare

     

    Description

    How can I use customize http headers?

    Resolution

    Under certain circumstances, you may want to customize Aleph WWW server headers as sent by the server. You need to distinguish between standard files handled directly by apache server from $httpd_root/htdocs directory and Aleph html pages that are generated by the WWW application server. Each is providing their own set of headers.

     

    1) for apache, you can change standard headers and define customized headers in the httpd configuration ($httpd_root/conf/httpd.conf), e.g.

     

    Header set Access-Control-Allow-Origin: www.your_another_server.com

     

    after apache restart (util W-3-6), you can check your headers using a command:

     

    curl -I http://your_server

     

    2) for WWW server, standard headers are hardcoded and cannot be changed; but you can define additional customized headers in the www server configuration ($alephe_root/www_server.conf)

     

    setenv http_header     "Access-Control-Allow-Origin: www.your_another_server.com"

     

    after www restart (util W-3-1), you can check your headers using a command: curl -I http://your_server/F

     

    Additional Information

    The following information was taken from internal program documentation:

     

    Add the following line in www_server.conf to make Aleph set cookies when it's displayed in iFrame (fix for IE)

     

         setenv http_header 'P3P: CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"' */

     

     


    • Article last edited: 18-April-2017
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Cursor Shifts To Overwrite Mode When OCLC Connexion Client Is Open
      • Custom job in job_list: "Unable to open log"
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      This page has no tags.
    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