From 79ff12a1b047763e08c2a8e5bdd354ebead22801 Mon Sep 17 00:00:00 2001 From: Roy-Orbison Date: Mon, 1 Feb 2021 14:47:11 +1030 Subject: [PATCH] Allow serving of 0-byte, real files Essential for many HTTP challenges for domain verification, SSL cert issuance, etc. --- public/.htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/.htaccess b/public/.htaccess index a5c40815..32a4fd27 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -1,7 +1,7 @@ RewriteEngine On # The following rule tells Apache that if the requested filename # exists, simply serve it. -RewriteCond %{REQUEST_FILENAME} -s [OR] +RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L]