aboutsummaryrefslogtreecommitdiff
path: root/htaccess_dist
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-11 14:29:34 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-11 14:29:34 +0000
commite50baee6d68f6758736b6c569ce3336eaccceaf4 (patch)
tree306b70d16695bbc17968e75e4133654f6ac0866e /htaccess_dist
parentb69146478c01e589c3016f1a238f3e3e329714ae (diff)
downloadelgg-e50baee6d68f6758736b6c569ce3336eaccceaf4.tar.gz
elgg-e50baee6d68f6758736b6c569ce3336eaccceaf4.tar.bz2
Ifdef expires
git-svn-id: https://code.elgg.org/elgg/trunk@2442 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'htaccess_dist')
-rw-r--r--htaccess_dist6
1 files changed, 4 insertions, 2 deletions
diff --git a/htaccess_dist b/htaccess_dist
index 73bf0f50a..75c3d4f04 100644
--- a/htaccess_dist
+++ b/htaccess_dist
@@ -25,8 +25,10 @@ Options +FollowSymLinks
DirectoryIndex index.php
# Turn on expiry
-ExpiresActive On
-ExpiresDefault "access plus 10 years"
+<IfModule mod_expires.c>
+ ExpiresActive On
+ ExpiresDefault "access plus 10 years"
+</IfModule>
# php 4, apache 1.x
<IfModule mod_php4.c>