Add commented-out Apache pass-through for .well-known directory

Refs https://github.com/cakephp/app/issues/368
This commit is contained in:
Marc Würth 2016-04-14 15:10:18 +02:00
parent 1d4e39a45a
commit 4dd72af12d
2 changed files with 6 additions and 0 deletions

View file

@ -1,5 +1,8 @@
<IfModule mod_rewrite.c>
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]
</IfModule>

View file

@ -1,5 +1,8 @@
<IfModule mod_rewrite.c>
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]
</IfModule>