+ actually protecting directory "protected"

This commit is contained in:
Pogodaanton 2020-07-12 17:43:45 +02:00
parent 0f632b789f
commit f9d5a2c27b
1 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,9 @@ ErrorDocument 404 /
ErrorDocument 403 /
IndexIgnore *
# Prohibiting access to /protected
RedirectMatch 404 ^/protected/?$
<IfModule mod_rewrite.c>
RewriteEngine On
# RewriteBase /