summary refs log tree commit diff stats
path: root/.htaccess
diff options
context:
space:
mode:
authorNaglfar <naglfar@tilde.institute>2021-01-08 01:52:01 +0100
committerNaglfar <naglfar@tilde.institute>2021-01-08 01:52:01 +0100
commit6333f2f4a5a6dc14d74927ac8a3314414af5153a (patch)
tree8986b0df1d2000fbeb0c53e9b536bdff2b0c7270 /.htaccess
parenta341f2bd9693e0157cd59726b1faf43d88f48601 (diff)
downloadMightyWVMS-6333f2f4a5a6dc14d74927ac8a3314414af5153a.tar.gz
Add index and Apache rewrite
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 /