diff --git a/web/.htaccess b/web/.htaccess index 4cd3d53..6bd5396 100644 --- a/web/.htaccess +++ b/web/.htaccess @@ -1,4 +1,12 @@ AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript application/json - + + deny from all + +RewriteEngine On +RewriteBase / +RewriteRule ^redirect\.php$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /redirect.php [L] diff --git a/web/redirect.php b/web/redirect.php new file mode 100644 index 0000000..d291fb6 --- /dev/null +++ b/web/redirect.php @@ -0,0 +1,31 @@ + \ No newline at end of file