diff options
author | Kevin Chabowski <kevin@kch42.de> | 2014-03-19 22:45:31 +0100 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2014-03-19 22:45:31 +0100 |
commit | efbdc3bbd6cba8691391ec2192ea96adbfb8c029 (patch) | |
tree | be6a69fab84d15d9fc1f8a50a02e8d57e9388c3b /.htaccess | |
download | todo-efbdc3bbd6cba8691391ec2192ea96adbfb8c029.tar.gz todo-efbdc3bbd6cba8691391ec2192ea96adbfb8c029.tar.bz2 todo-efbdc3bbd6cba8691391ec2192ea96adbfb8c029.zip |
Initial commit
Diffstat (limited to '.htaccess')
-rwxr-xr-x | .htaccess | 17 |
1 files changed, 17 insertions, 0 deletions
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] |