diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-11 12:21:29 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-11 12:21:29 +0000 |
commit | 239008a518145ca40c5dea980b4aa2db9cb802bb (patch) | |
tree | 51434b2cc871f6852c3e464adf646403b71be941 /htaccess_dist | |
parent | 40007e05257455cea3fb9d5c8bf3d17d3a19a0c8 (diff) | |
download | elgg-239008a518145ca40c5dea980b4aa2db9cb802bb.tar.gz elgg-239008a518145ca40c5dea980b4aa2db9cb802bb.tar.bz2 |
Added default expiry
git-svn-id: https://code.elgg.org/elgg/trunk@2437 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'htaccess_dist')
-rw-r--r-- | htaccess_dist | 4 |
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."
|