Permalink
Browse files

Dev: RedirectMatch 403 for hidden files except /.well-known

  • Loading branch information...
Shnoulle committed Sep 7, 2018
1 parent b1bba73 commit baf485529b367012314af10a063b29485cb9d2e5
Showing with 1 addition and 2 deletions.
  1. +1 −2 .htaccess
View
@@ -14,8 +14,7 @@
</IfModule>
# deny access to hidden files and directories without mod_rewrite
# TODO : disable /.well-known from redirect
# RedirectMatch 403 ^(.*/)?\.+
RedirectMatch 403 ^/(?!\.well-known/)(.*/)?\.+
# General setting to properly handle LimeSurvey paths
# AcceptPathInfo on

0 comments on commit baf4855

Please sign in to comment.