Preventing remote access to catalog.txt

From CONTENTdm Users Wiki

Jump to: navigation, search

catalog.txt lives inside the docs directory, which is typically web root for CONTENTdm servers and is thus visible to anyone who cares to look for it. For example catalog.txt for collections.contentdmdemo.com and catalog.txt for cdmdemo.contentdmdemo.com) If this disturbs you can modify your web server configuration to prevent http access.

For Apache httpd I put this rule in my httpd.conf file

#
# Forbid access to the catalog.txt file
#
<Files "catalog.txt">
    Order allow,deny
    Deny from all
</Files>
Personal tools