-
-
Save nk23x/9fc17a27918493a65bf02fc1f31b5699 to your computer and use it in GitHub Desktop.
Apache config snippet to redirect Mastodon webfinger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine On | |
RewriteCond %{QUERY_STRING} ^resource=acct:andy@ [NC] | |
RewriteRule /.well-known/webfinger https://social.bitfolk.com/.well-known/webfinger?resource=acct:grifferz@social.bitfolk.com [NC,L,R=301] | |
RewriteCond %{QUERY_STRING} ^resource=acct:grifferz@ [NC] | |
RewriteRule /.well-known/webfinger https://social.bitfolk.com/.well-known/webfinger?resource=acct:grifferz@social.bitfolk.com [NC,L,R=301] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment