Skip to content

Commit

Permalink
Revert "Dev: Fixed issue : .well-known directory send a 403"
Browse files Browse the repository at this point in the history
This reverts commit b1bba73.
  • Loading branch information
olleharstedt committed Sep 12, 2018
1 parent a6176a3 commit 485ff0b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .htaccess
Expand Up @@ -8,14 +8,12 @@
# otherwise forward it to index.php
RewriteRule . index.php

# deny access to hidden files and directories except .well-known
RewriteCond %{REQUEST_URI} !^/\.well-known
# deny access to hidden files and directories
RewriteRule ^(.*/)?\.+ - [F]
</IfModule>

# deny access to hidden files and directories without mod_rewrite
# TODO : disable /.well-known from redirect
# RedirectMatch 403 ^(.*/)?\.+
RedirectMatch 403 ^(.*/)?\.+

# General setting to properly handle LimeSurvey paths
# AcceptPathInfo on

0 comments on commit 485ff0b

Please sign in to comment.