summary refs log tree commit diff stats
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess11
1 files changed, 11 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..4a219a4
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,11 @@
+# Redirect to a custom page (RewriteEngine On)
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule ^(.*)$ /index.php/$1
+
+# Redirect your error to a Custom Page
+ErrorDocument 400 /
+ErrorDocument 401 /
+ErrorDocument 403 /
+ErrorDocument 404 /
+ErrorDocument 503 /