-
-
Save fmarier/6146262 to your computer and use it in GitHub Desktop.
Fix typo in Aaron's webfinger rewrite rule
This file contains hidden or 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
| [[email protected] www]$ cat .htaccess | |
| RewriteEngine on | |
| RewriteCond %{QUERY_STRING} resource=acct:(.+) | |
| RewriteRule ^/.well-known/webfinger /profile/%1? [L] | |
| [[email protected] www]$ cat profile/[email protected] | |
| { | |
| "subject": "acct:[email protected]", | |
| "links": [ | |
| { | |
| "rel": "http://webfinger.net/rel/avatar", | |
| "href": "http://aaronparecki.com/images/aaronpk.png" | |
| }, | |
| { | |
| "rel": "http://webfinger.net/rel/profile-page", | |
| "href": "http://aaronparecki.com/" | |
| }, | |
| { | |
| "rel": "me", | |
| "href": "http://aaronparecki.com/" | |
| } | |
| ] | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment