diff options
| author | stonedDiscord <stoned@derpymail.org> | 2016-05-27 03:42:10 +0200 |
|---|---|---|
| committer | stonedDiscord <stoned@derpymail.org> | 2016-05-27 03:42:10 +0200 |
| commit | 8c3e5a03277a5f362ff55b25068cdd465e9a6a4d (patch) | |
| tree | a2574bb32270bb19bef44ee700ab48062b9a4870 /.htaccess | |
| parent | afe41c2d7278e0a2ae44d35c1181d7dd666030bc (diff) | |
AO web client
Diffstat (limited to '.htaccess')
| -rw-r--r-- | .htaccess | 12 |
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 |
