summaryrefslogtreecommitdiff
path: root/public/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to 'public/.htaccess')
-rw-r--r--public/.htaccess9
1 files changed, 9 insertions, 0 deletions
diff --git a/public/.htaccess b/public/.htaccess
new file mode 100644
index 0000000..e6b560b
--- /dev/null
+++ b/public/.htaccess
@@ -0,0 +1,9 @@
+RewriteEngine on
+
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteCond %{REQUEST_URI} (.+)/$
+RewriteRule ^ %1 [R,L]
+
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule ^.*$ /index.php [L,QSA]