From 4dd72af12d8c6ec26ad59a5c5477a81101241710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=BCrth?= Date: Thu, 14 Apr 2016 15:10:18 +0200 Subject: [PATCH] Add commented-out Apache pass-through for .well-known directory Refs https://github.com/cakephp/app/issues/368 --- .htaccess | 3 +++ app/.htaccess | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.htaccess b/.htaccess index 2ac5e0e7a..f13591f2c 100644 --- a/.htaccess +++ b/.htaccess @@ -1,5 +1,8 @@ RewriteEngine on + # Uncomment if you have a .well-known directory in the root folder, e.g. for the Let's Encrypt challenge + # https://tools.ietf.org/html/rfc5785 + #RewriteRule ^(\.well-known/.*)$ $1 [L] RewriteRule ^$ app/webroot/ [L] RewriteRule (.*) app/webroot/$1 [L] \ No newline at end of file diff --git a/app/.htaccess b/app/.htaccess index 128e7871b..f7ab0332c 100644 --- a/app/.htaccess +++ b/app/.htaccess @@ -1,5 +1,8 @@ RewriteEngine on + # Uncomment if you have a .well-known directory in the app folder, e.g. for the Let's Encrypt challenge + # https://tools.ietf.org/html/rfc5785 + #RewriteRule ^(\.well-known/.*)$ $1 [L] RewriteRule ^$ webroot/ [L] RewriteRule (.*) webroot/$1 [L] \ No newline at end of file