Merge pull request #8647 from ravage84/2.x-well-known

Add commented-out Apache pass-through for .well-known directory
This commit is contained in:
Mark Story 2016-04-14 15:14:58 -04:00
commit 34121515f3
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>