diff --git a/public/.htaccess b/public/.htaccess new file mode 100644 index 0000000..c0d9bbc --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,8 @@ +RewriteEngine on +RewriteBase / + +RewriteCond %{QUERY_STRING} (^|&)file_id=([0-9]+)($|&) +RewriteRule ^modules/xoonips/download.php /database/file/%2? [R=301,L] + +RewriteCond %{REQUEST_FILENAME} !-f +RewriteRule . /index.html [L]