mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-25 00:07:20 +00:00
Add commented-out Apache pass-through for .well-known directory
Refs https://github.com/cakephp/app/issues/368
This commit is contained in:
parent
1d4e39a45a
commit
4dd72af12d
2 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine on
|
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/ [L]
|
||||||
RewriteRule (.*) app/webroot/$1 [L]
|
RewriteRule (.*) app/webroot/$1 [L]
|
||||||
</IfModule>
|
</IfModule>
|
|
@ -1,5 +1,8 @@
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine on
|
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/ [L]
|
||||||
RewriteRule (.*) webroot/$1 [L]
|
RewriteRule (.*) webroot/$1 [L]
|
||||||
</IfModule>
|
</IfModule>
|
Loading…
Reference in a new issue