# GCP CRM — docs/ is not public
# Lives in: /home/gracoror/crmtools/docs/.htaccess
# and /home/gracoror/tbftools/docs/.htaccess
#
# Apache serves static files itself without ever starting PHP, so auth.php
# never ran on docs/*.html and the pages were readable by anyone with the URL.
# This refuses every direct request to the folder. The only way in is
# doc.php, which checks the login first and then reads the file off disk —
# PHP reading a file is filesystem access, not an HTTP request, so this
# block does not get in its way.
#
# Nothing in here needs changing when a document is added or replaced.
# Apache 2.4
Require all denied
# Apache 2.2 and earlier
Order allow,deny
Deny from all
# Belt and braces: if a host ignores the blocks above, refuse to hand over
# the file types that live here rather than falling back to serving them.
Require all denied
Order allow,deny
Deny from all
# No directory listing under any circumstances.
Options -Indexes