Score:1

How to do this (nginx) in apache2 .htaccess?

ls flag
location /.well-known/webfinger {
   add_header Access-Control-Allow-Origin '*';
   return 301 https://mastodon.bitsnbytes.chat/$request_uri;
}

Is it possible to convert this Nginx into Apache2 .htaccess?

Score:1
es flag

In Apache / .htaccess this would be something like:

Header always set Access-Control-Allow-Origin "*"

RedirectMatch 301 ^/(\.well-known/webfinger.*) https://mastodon.bitsnbytes.chat/$1
Score:0
ls flag

I got it working with:

RewriteEngine On
RewriteRule ^(.well-known/webfinger.*)$ https://mastodon.mydomain.tld/$1 [L,R=301]
Header add Access-Control-Allow-Origin "*"
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.