Fix .htaccess issue with subdomain (#433)
* Fix .htaccess instructions * Update readme.txt
This commit is contained in:
parent
f9218ebb1b
commit
f7ebced624
2 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ In order for webfinger to work, it must be mapped to the root directory of the U
|
||||||
|
|
||||||
Add the following to the .htaccess file in the root directory:
|
Add the following to the .htaccess file in the root directory:
|
||||||
|
|
||||||
RedirectMatch "^\/\.well-known/(webfinger|nodeinfo|x-nodeinfo2)(.*)$" "\/blog\/\.well-known$1$2"
|
RedirectMatch "^\/\.well-known/(webfinger|nodeinfo|x-nodeinfo2)(.*)$" /blog/.well-known/$1$2
|
||||||
|
|
||||||
Where 'blog' is the path to the subdirectory at which your blog resides.
|
Where 'blog' is the path to the subdirectory at which your blog resides.
|
||||||
|
|
||||||
|
|
|
@ -86,7 +86,7 @@ In order for webfinger to work, it must be mapped to the root directory of the U
|
||||||
|
|
||||||
Add the following to the .htaccess file in the root directory:
|
Add the following to the .htaccess file in the root directory:
|
||||||
|
|
||||||
RedirectMatch "^\/\.well-known/(webfinger|nodeinfo|x-nodeinfo2)(.*)$" "\/blog\/\.well-known$1$2"
|
RedirectMatch "^\/\.well-known/(webfinger|nodeinfo|x-nodeinfo2)(.*)$" /blog/.well-known/$1$2
|
||||||
|
|
||||||
Where 'blog' is the path to the subdirectory at which your blog resides.
|
Where 'blog' is the path to the subdirectory at which your blog resides.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue