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]