# ========================================= # GLOBAL LOG DIRECTORY PROTECTION # ========================================= # Disable directory listing Options -Indexes # Block all web access to logs Require all denied Order allow,deny Deny from all # Prevent direct access to common log formats Require all denied # Block backup / temp files Require all denied # No caching of sensitive data Header set Cache-Control "no-store, no-cache, must-revalidate, max-age=0" Header set Pragma "no-cache" # ========================================= # END LOG PROTECTION # =========================================