summaryrefslogtreecommitdiff
path: root/frontend/im/.htaccess
diff options
context:
space:
mode:
authoryo mama <pepper@scannerjammer.com>2015-08-07 18:33:30 -0700
committeryo mama <pepper@scannerjammer.com>2015-08-07 18:33:30 -0700
commit236fd1d9f2009083fbbfce7190c27fbf1d7c88b8 (patch)
tree6077ff15b4b770b4b292aaa14d9cbfff1ba82fae /frontend/im/.htaccess
parentc89619f1b1f908d0f330c468866cea669ce8bf6c (diff)
getting ready
Diffstat (limited to 'frontend/im/.htaccess')
-rwxr-xr-xfrontend/im/.htaccess7
1 files changed, 7 insertions, 0 deletions
diff --git a/frontend/im/.htaccess b/frontend/im/.htaccess
new file mode 100755
index 0000000..b6ae396
--- /dev/null
+++ b/frontend/im/.htaccess
@@ -0,0 +1,7 @@
+RewriteEngine On
+RewriteCond %{REQUEST_URI} .*/im/(..)/(.*jpg|.*gif|.*png|.*jpeg)$ [NC]
+RewriteRule ^(.*)$ http://i.asdf.us/im/%1/%2 [R=301,L]
+Header add Access-Control-Allow-Origin "http://atrium.dump.fm"
+Header add Access-Control-Allow-Origin "http://dump.fm"
+Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type"
+Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"