Skip to content

Instantly share code, notes, and snippets.

View fmarier's full-sized avatar

Francois Marier fmarier

View GitHub Profile
@fmarier
fmarier / gist:6146262
Last active December 20, 2015 14:28 — forked from aaronpk/gist:5846789
Fix typo in Aaron's webfinger rewrite rule
[[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": [
{