mirror of
https://github.com/insomniafi/fallback
synced 2026-10-22 21:45:03 +00:00
Deny access to directories
This commit is contained in:
1 parent
fccecef2fb
commit
055b8e5594
1 file changed
+9
@@ -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>
|
||||
Reference in new issue
Block a user