Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Primo
    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Primo
    3. Knowledge Articles
    4. How to hide Tomcat's index.html that shows by default when accessing the FE

    How to hide Tomcat's index.html that shows by default when accessing the FE

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Primo
    • Product Version: 3

    Desired Outcome Goal:
    Preventing users from accessing the tomcats index.html file that is presented by default if the Front End (FE) base URL is entered.

    Procedure:
    There are two approaches:

    1. Rename the index.html:
    In primo Version 3.0.0 to 3.1.3:
    /exlibris/primo/p<x_y>/ng/primo/home/system/thirdparty/openserver/server/search/deploy/jbossweb-tomcat.sar/ROOT.war/index.html

    In Primo Version 3.1.4 to 4.0.0 and onwards:
    /exlibris/primo/p<x_y>/ng/primo/home/system/thirdparty/jbossas/server/search/deploy/ROOT.war/index.html

    To:

    In primo Version 3.0.0 to 3.1.3:
    /exlibris/primo/p<x_y>/ng/primo/home/system/thirdparty/openserver/server/search/deploy/jbossweb-tomcat.sar/ROOT.war/index.html.orig

    In Primo Version 3.1.4 to 4.0.0 and onwards:
    /exlibris/primo/p<x_y>/ng/primo/home/system/thirdparty/jbossas/server/search/deploy/ROOT.war/index.html.orig

    2. Changing the redirect.jps default location:

    Edit:
    In Primo 3.0.0 to 3.1.3:
    /exlibris/primo/p<x_y>/ng/primo/home/system/thirdparty/openserver/server/search/deploy/jbossweb-tomcat.sar/ROOT.war/redirect.jsp

    In Primo Version 3.1.4 to 4.0.0 and onwards:
    /exlibris/primo/p<x_y>/ng/primo/home/system/thirdparty/jbossas/server/search/deploy/ROOT.war/redirect.jsp

    Replace:
    response.sendRedirect("/index.html");

    With:
    response.sendRedirect("/primo_library/libweb/action/search.do?vid=<View ID>");


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to hide the Degree dropdown but retain the Discipline options
      • How to hide Virtual browse functionality in Primo Classic and New UI
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Community Content Type
      How To
      Content Type
      Knowledge Article
      Language
      English
      Product
      Primo
    2. Tags
      1. 3
      2. contype:kba
      3. Prod:Primo
      4. Type:General
    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