aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>