summaryrefslogtreecommitdiff
path: root/docroot/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to 'docroot/.htaccess')
-rwxr-xr-xdocroot/.htaccess46
1 files changed, 46 insertions, 0 deletions
diff --git a/docroot/.htaccess b/docroot/.htaccess
new file mode 100755
index 0000000..70fc492
--- /dev/null
+++ b/docroot/.htaccess
@@ -0,0 +1,46 @@
1#
2# Material Experience - .htaccess File
3#
4# EYEMG - Interactive Media Group
5# Created by Mike Crute (mcrute@eyemg.com)
6# Updated by Mike Crute (mcrute@eyemg.com) on 9/26/07
7#
8# Workarounds for missing mod_gzip and caching. This file
9# is pre-processed before the site goes into production
10# since we don't really gzip anything in development.
11#
12# WARNING!: Seconds of code marked with ### PRODUCTION###
13# are blocks un-commented by the build system, you can
14# add or remove them just be careful what you ask for.
15#
16
17# Cache Control Headers
18### PRODUCTION ###
19#ExpiresActive on
20#ExpiresDefault "access plus 1 week"
21### END PRODUCTION ###
22
23# Disable the ETag Header (per YSlow)
24#
25# I know that this probably doesn't mean anything for us
26# because we don't serve AES with a cluster but just for
27# the sake of getting straight As in YSlow we'll remove
28# them.
29FileEtag none
30
31### PRODUCTION ###
32#<Files application.js>
33# Header set Content-Encoding "gzip"
34#</Files>
35
36#<Files application.css>
37# Header set Content-Encoding "gzip"
38#</Files>
39### END PRODUCTION ###
40
41<Files index.html>
42 Header set Content-Type "text/html;charset=utf-8"
43### PRODUCTION ###
44# Header set Content-Encoding "gzip"
45### END PRODUCTION ###
46</Files>