Como retornar uma string com código 200 com Apache 2.4

Como retornar uma string com código 200 com Apache 2.4

Estou tentando converter este nginxbloco de configuração para Apache 2.4:

http {
...
server {
...
  location ~ ^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)$ {
    default_type text/plain;
    return 200 "$1.6fXAG9VyG0IahirPEU2ZerUtItW2DHzDzD9wZaEKpqd";
  }
...
}
}

O que tenho neste momento é:

<LocationMatch ^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)$>
RewriteEngine On
RewriteRule ^/.*/$ $1.6fXAG9VyG0IahirPEU2ZerUtItW2DHzDzD9wZaEKpqd [R=200]
</LocationMatch>

Mas definitivamente não está funcionando.

O que estou tentando alcançar? Vamos criptografar o modo sem estado com Apache:https://github.com/Neilpang/acme.sh/wiki/Stateless-Mode

informação relacionada