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. How to set up port 80 for Apache server

    How to set up port 80 for Apache server

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Question
    2. Answer
    3. Additional Information
    • Product: Aleph
    • Product Version: 20, 21, 22, 23

    Question

    How to set up port 80 for Apache server in Aleph?

    Answer

    1. Shutdown the WWW server with util W
    2. Stop Apache server (as UNIX user aleph)

    apcb
    apachectl stop

    1. Change file $httpd_root/conf/httpd.conf from

    ServerName <server-name>:8991
    Listen 8991

    to

    ServerName <server-name>:80
    Listen 80

    1. Change file $httpd_root/htdocs/.index.html from

    var loc = "http://<server-name>:8991/F?RN="+session;
    to
    var loc = "http://<server-name>:80/F?RN="+session;

    1. Change occurrences of 8991 in $httpd_root/htdocs/main.html to 80. (Note: these lines in main.html are no longer used in normal circumstances, but, for consistency, we suggest changing them.)
    2. Change file $alephe_root/aleph_start from

    setenv HTTPD_PORT 8991
    setenv PDS_PORT 8991

    to
    setenv HTTPD_PORT 80
    setenv PDS_PORT 80

    1. Activate settings in $alephe_root/aleph_start: source $alephe_root/aleph_start
    2. Start Apache server (as UNIX user root)

    su
    Password:
    # $httpd_root/bin/apachectl_auto

    1. Start WWW server (as UNIX user aleph)
    2. Test access to OPAC

    Additional Information

    • To see the current Apache port use

    echo $HTTPD_PORT

    • For automatic startup change

    /exlibris/startup/init.dat
    aleph

    to
    root
    Example
    Old:
    Y:apache:aleph:httpd:/exlibris/aleph/a20_1:../a20_1:apachectl_auto:apachectl
    New:
    Y:apache:root:httpd:/exlibris/aleph/a20_1:../a20_1:apachectl_auto:apachectl

    Note:  the "a20_1" will need to be changed for your particular version/instance, such as:  a23_1 .


    • Article last edited: 24-Jun-2014
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to set up PDS with SSL?
      • How to set up shortcut keys
    • 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