aboutsummaryrefslogtreecommitdiff
path: root/htaccess_dist
diff options
context:
space:
mode:
Diffstat (limited to 'htaccess_dist')
-rw-r--r--htaccess_dist4
1 files changed, 4 insertions, 0 deletions
diff --git a/htaccess_dist b/htaccess_dist
index 90fcb40c8..762aa8d78 100644
--- a/htaccess_dist
+++ b/htaccess_dist
@@ -24,6 +24,10 @@ Options +FollowSymLinks
# Default handler
DirectoryIndex index.php
+# Turn on expiry
+ExpiresActive On
+ExpiresDefault "access plus 10 years"
+
# php 4, apache 1.x
<IfModule mod_php4.c>
ErrorDocument 500 "Elgg error: Elgg does not support PHP 4."