From 222f47c042fcdb9732d8d068ab17a1f611c22be1 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Tue, 22 Dec 2015 07:24:10 -0500
Subject: [PATCH] Fix .htaccess rewrite rules to not block .well-known URIs (#1490615)

---
 .htaccess |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/.htaccess b/.htaccess
index 9035952..26fec1a 100644
--- a/.htaccess
+++ b/.htaccess
@@ -31,7 +31,7 @@
 # security rules:
 # - deny access to files not containing a dot or starting with a dot
 #   in all locations except installer directory
-RewriteRule ^(?!installer)(\.?[^\.]+)$ - [F]
+RewriteRule ^(?!installer|\.well-known\/)(\.?[^\.]+)$ - [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

--
Gitblit v1.9.1