summaryrefslogtreecommitdiffstats
path: root/sounds
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-01-31 04:10:59 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-01-31 04:10:59 -0800
commit27f1a758f0f312e6dedb18f47ce86a6fd1d05d12 (patch)
tree05dce0efa9ccede3b84437ce067152ac7cf313f5 /sounds
parent2fb5da215a7b286b71f8c4d0126c72a06e41935e (diff)
downloadpathery-27f1a758f0f312e6dedb18f47ce86a6fd1d05d12.tar.xz
Error logging. .htaccess cacheing. Modified doredirect to use $mydomain
Diffstat (limited to 'sounds')
-rw-r--r--sounds/.htaccess15
1 files changed, 15 insertions, 0 deletions
diff --git a/sounds/.htaccess b/sounds/.htaccess
new file mode 100644
index 0000000..657e345
--- /dev/null
+++ b/sounds/.htaccess
@@ -0,0 +1,15 @@
+# 480 weeks
+<FilesMatch "\.(mp3|flv|jpg|jpeg|png|gif|js|swf)$">
+Header set Cache-Control "max-age=290304000, public"
+</FilesMatch>
+
+<ifModule mod_gzip.c>
+ mod_gzip_on Yes
+ mod_gzip_dechunk Yes
+ mod_gzip_item_include file \.(swf|txt|css|js)$
+ mod_gzip_item_include handler ^cgi-script$
+ mod_gzip_item_include mime ^text/.*
+ mod_gzip_item_include mime ^application/x-javascript.*
+ mod_gzip_item_exclude mime ^image/.*
+ mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
+</ifModule> \ No newline at end of file