Disable directory listing in .htaccess
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
369e11d83e
commit
254017eb71
1 changed files with 3 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
|||
# Disable directory browsing
|
||||
Options -Indexes
|
||||
|
||||
# Block access to documentation and config files
|
||||
<FilesMatch "\.(md|gitignore)$">
|
||||
Require all denied
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue