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:
@@ -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