From f35dc94d606f4d4c9ce6b790deb9939a9aab23f6 Mon Sep 17 00:00:00 2001 From: Yoshihiro OKUMURA Date: Mon, 26 Aug 2019 21:57:28 +0900 Subject: [PATCH] add rule for index.html file of sub directory. --- 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]