diff options
author | Aleksander Machniak <alec@alec.pl> | 2015-12-22 15:21:22 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2015-12-22 15:21:22 +0300 |
commit | 1c2aad89ab86b519b0ca7f0cb560b917b2ca595a (patch) | |
tree | c1a8574f01c559daa118e764df93b52c6b5edcde /.htaccess | |
parent | d08dc5bfc5cfa0d6dc98d47b86c3d6d071259fd0 (diff) |
Fix .htaccess rewrite rules to not block .well-known URIs (#1490615)
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ RewriteRule ^favicon\.ico$ skins/larry/images/favicon.ico # security rules: # - deny access to files not containing a dot or starting with a dot # in all locations except installer directory -RewriteRule ^(?!installer|[a-zA-Z0-9]{16})(\.?[^\.]+)$ - [F] +RewriteRule ^(?!installer|\.well-known\/|[a-zA-Z0-9]{16})(\.?[^\.]+)$ - [F] # - deny access to some locations RewriteRule ^/?(\.git|\.tx|SQL|bin|config|logs|temp|tests|program\/(include|lib|localization|steps)) - [F] # - deny access to some documentation files |