1
1
SetEnv APPLICATION_ENV development
2
2
3
+ ## GoDaddy hosting options
4
+ # Options -MultiViews
5
+
3
6
<IfModule mod_rewrite.c >
4
7
##################################
5
8
## Enable rewrites
@@ -29,7 +32,7 @@ SetEnv APPLICATION_ENV development
29
32
# Header set Cache-Control "public"
30
33
# Header set Expires "Thu, 15 Apr 2012 20:00:00 GMT"
31
34
# </FilesMatch>
32
-
35
+
33
36
</IfModule >
34
37
35
38
<IfModule mod_deflate.c >
@@ -38,27 +41,27 @@ SetEnv APPLICATION_ENV development
38
41
## http://httpd.apache.org/docs/2.0/mod/mod_deflate.html
39
42
# Add filter
40
43
# AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
41
-
44
+
42
45
# Netscape 4.x has some problems...
43
46
# BrowserMatch ^Mozilla/4 gzip-only-text/html
44
-
47
+
45
48
# Netscape 4.06-4.08 have some more problems
46
49
# BrowserMatch ^Mozilla/4\.0[678] no-gzip
47
-
50
+
48
51
# MSIE masquerades as Netscape, but it is fine
49
52
# BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
50
-
53
+
51
54
# NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
52
55
# the above regex won't work. You can use the following
53
56
# workaround to get the desired effect:
54
57
# BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
55
-
58
+
56
59
# Don't compress images
57
60
# SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
58
-
61
+
59
62
# Make sure proxies don't deliver the wrong content
60
63
# Header append Vary User-Agent env=!dont-vary
61
-
64
+
62
65
</IfModule >
63
66
64
67
##################################
@@ -77,7 +80,7 @@ SetEnv APPLICATION_ENV development
77
80
78
81
AddDefaultCharset Off
79
82
#AddDefaultCharset utf-8
80
-
83
+
81
84
## To redirect all users to the site WITH the 'www.' prefix,
82
85
## (http://example.com/... will be redirected to http://www.example.com/...)
83
86
## adapt and uncomment the following:
0 commit comments