summaryrefslogtreecommitdiff
path: root/public/.htaccess
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2015-07-27 09:47:58 -0700
committerAaron Parecki <aaron@parecki.com>2015-07-27 09:47:58 -0700
commit24d72bf4bed9b2462ed25fa09daa1e6d7bc32569 (patch)
treefdd8b6616c9afe0e24d5593085bd233033e9bc11 /public/.htaccess
parentebb58a16a2f01994ed6397c6b1698f60f858d530 (diff)
parent723c7aa8eddf52572d8c4b65d98e0fc14f9e8868 (diff)
Merge pull request #24 from voxpelli/htaccess
Simple .htaccess file to get it working on Apache
Diffstat (limited to 'public/.htaccess')
-rw-r--r--public/.htaccess10
1 files changed, 10 insertions, 0 deletions
diff --git a/public/.htaccess b/public/.htaccess
new file mode 100644
index 0000000..21a35c9
--- /dev/null
+++ b/public/.htaccess
@@ -0,0 +1,10 @@
+<IfModule mod_rewrite.c>
+ RewriteEngine on
+
+ RewriteBase /
+
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteCond %{REQUEST_FILENAME} !-d
+ RewriteCond %{REQUEST_URI} !=/favicon.ico
+ RewriteRule ^ index.php [L]
+</IfModule>