From 33ddfeebbb1f67189944b2c6fea9706995ae0019 Mon Sep 17 00:00:00 2001 From: Ruben Date: Thu, 1 Sep 2016 11:31:02 +0100 Subject: [PATCH] Add .htaccess --- .gitignore | 1 - www/.htaccess | 9 +++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 www/.htaccess diff --git a/.gitignore b/.gitignore index c9a868b..cb310a8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ vendor composer.lock -.htaccess cache/db.sqlite config/* !config/_default.php diff --git a/www/.htaccess b/www/.htaccess new file mode 100644 index 0000000..ca39922 --- /dev/null +++ b/www/.htaccess @@ -0,0 +1,9 @@ + + Options -MultiViews + + RewriteEngine On + #RewriteBase /path/to/app + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^ index.php [QSA,L] +