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. .htaccess files don't work; how to block IP access in Apache

    .htaccess files don't work; how to block IP access in Apache

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

    Description:
    How can we block IP access in the Aleph Apache? (Our .htaccess files don't work.)

    Resolution:
    The Apache that is bundled with Aleph is configured to specifically not process .htaccess files: the "AllowOverride" directive is set to "none". That's why the .htaccess file wasn't being used.

    This is what is currently in the Aleph httpd.conf file:

    <Directory "...">
    Options FollowSymLinks MultiViews
    AllowOverride None
    Order deny,allow
    Allow from all
    </Directory>

    To enter the block directly in httpd.conf (for ip addresses beginning with 124.115), you need to do this:

    <Directory "...">
    Options FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    Deny from 124.115
    </Directory>


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • .circtabprint.ini CashWaiveLetter
      • .mov files not working in default WMP
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 20
      2. contype:kba
      3. Prod:Aleph
      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