aboutsummaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess12
1 files changed, 12 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..458a24c
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,12 @@
+ErrorDocument 404 "not found"
+Header always set Access-Control-Allow-Origin "*"
+Header always set Access-Control-Allow-Methods "POST, GET, PUT, OPTIONS, PATCH, DELETE"
+Header always set Access-Control-Allow-Headers "X-Accept-Charset,X-Accept,Content-Type"
+RewriteEngine On
+RewriteBase /
+RewriteCond %{REQUEST_METHOD} OPTIONS
+RewriteRule ^(.*)$ $1 [R=200,L,E=HTTP_ORIGIN:%{HTTP:ORIGIN}]]
+<IfModule mod_speling.c>
+ CheckCaseOnly On
+ CheckSpelling On
+</IfModule> \ No newline at end of file