mirror of
https://github.com/sruupl/batflat.git
synced 2026-01-10 07:52:04 +01:00
Change FilesMatch to Files
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
Options -Indexes
|
||||
|
||||
# Prevent visitors from viewing files directly
|
||||
<FilesMatch "\.(sdb|md|html|txt)$">
|
||||
<Files "\.(sdb|md|html|txt)$">
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
@@ -11,7 +11,7 @@ Options -Indexes
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfModule>
|
||||
</FilesMatch>
|
||||
</Files>
|
||||
|
||||
# URL rewrites
|
||||
<IfModule mod_rewrite.c>
|
||||
@@ -20,4 +20,4 @@ Options -Indexes
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^ index.php [L]
|
||||
</IfModule>
|
||||
</IfModule>
|
||||
|
||||
Reference in New Issue
Block a user