2 <Directory /var/www/acme>
6 # Allow follow symlinks (required by php or rewrite)
13 <IfModule rewrite_module>
14 # Start rewrite engine
17 # Only if https is disabled
18 RewriteCond %{HTTPS} off
20 # Rewrite acme uri on php script
21 RewriteRule /\.well\-known/acme\-challenge/([-_a-zA-Z0-9]+) /usr/share/acme/acme-challenge.php?key=$1 [L]