diff --git a/pool/free/.htaccess b/pool/free/.htaccess index 673a7ce..e29ab7c 100644 --- a/pool/free/.htaccess +++ b/pool/free/.htaccess @@ -1,6 +1,12 @@ Options -Indexes RewriteEngine On + +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{REQUEST_URI} !\+ +RewriteRule ^(.*)$ https://github.com/KXStudio/Repository/releases/download/initial/$1 [R=301,L,QSA] + RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)\+(.*)$ https://github.com/KXStudio/Repository/releases/download/initial/$1\.$2 [R=301,L,QSA] diff --git a/pool/non-free/.htaccess b/pool/non-free/.htaccess index 673a7ce..e29ab7c 100644 --- a/pool/non-free/.htaccess +++ b/pool/non-free/.htaccess @@ -1,6 +1,12 @@ Options -Indexes RewriteEngine On + +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{REQUEST_URI} !\+ +RewriteRule ^(.*)$ https://github.com/KXStudio/Repository/releases/download/initial/$1 [R=301,L,QSA] + RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)\+(.*)$ https://github.com/KXStudio/Repository/releases/download/initial/$1\.$2 [R=301,L,QSA]