mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
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:
commit
34121515f3
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