From 5fd366cf9f45cc6987d6b1494ee7a8864a962f91 Mon Sep 17 00:00:00 2001 From: Yoshihiro OKUMURA Date: Sat, 23 May 2020 13:39:57 +0900 Subject: [PATCH] add rule for index.html --- public/.htaccess | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/.htaccess b/public/.htaccess index c0d9bbc..68eecbf 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -5,4 +5,7 @@ RewriteCond %{QUERY_STRING} (^|&)file_id=([0-9]+)($|&) RewriteRule ^modules/xoonips/download.php /database/file/%2? [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d [OR] +RewriteCond %{REQUEST_FILENAME} -d +RewriteCond %{REQUEST_FILENAME}index.html !-f RewriteRule . /index.html [L]