1
0
mirror of https://github.com/insomniafi/fallback synced 2025-10-13 14:43:24 +00:00

Deny access to directories

This commit is contained in:
Christer Warén
2025-10-09 15:21:45 +03:00
parent fccecef2fb
commit 055b8e5594

View File

@@ -11,3 +11,12 @@ RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.html [NC,L,QSA]
</IfModule>
<IfModule mod_autoindex.c>
IndexIgnore */*
Options -Indexes
</IfModule>
<IfModule mod_alias.c>
RedirectMatch 403 ^/.git(/.*)?$
</IfModule>