From efbdc3bbd6cba8691391ec2192ea96adbfb8c029 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Wed, 19 Mar 2014 22:45:31 +0100 Subject: Initial commit --- .htaccess | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 .htaccess (limited to '.htaccess') diff --git a/.htaccess b/.htaccess new file mode 100755 index 0000000..68d1f73 --- /dev/null +++ b/.htaccess @@ -0,0 +1,17 @@ +# Enable rewrite engine and route requests to framework +RewriteEngine On + +# Some servers require you to specify the `RewriteBase` directive +# In such cases, it should be the path (relative to the document root) +# containing this .htaccess file +# +# RewriteBase / + +RewriteCond %{REQUEST_URI} \.ini$ +RewriteRule \.ini$ - [R=404] + +RewriteCond %{REQUEST_FILENAME} !-l +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule .* index.php [L,QSA] +RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] -- cgit v1.2.3-70-g09d2