diff --git a/.htaccess.dist b/.htaccess.dist index 0940745197..4eeb07104e 100644 --- a/.htaccess.dist +++ b/.htaccess.dist @@ -13,7 +13,7 @@ #RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # prevent httpd from serving dotfiles (.htaccess, .svn, .git, etc.) - except let's encrypt challenge - RedirectMatch 403 ^/?\.(?!/well-known/acme-challenge/[\w-]{43}$) + RedirectMatch 403 ^/?\.(?!well-known/acme-challenge/[\w-]{43}$) # ensure permalink when url rewriting was enabled (index.php?r=content/perma&id=6 => /content/perma/?id=6 RewriteCond %{QUERY_STRING} ^r=content(/|%2)perma&id=([0-9]*)$ @@ -48,4 +48,4 @@ Header set Cache-Control "private, max-age=3600" - \ No newline at end of file +