Commit 769d0bcc authored by mikeytown2's avatar mikeytown2

Issue #1113846 by mikeytown2, David4514: apache 1.3 fixes.

parent c8c76e46
......@@ -1298,11 +1298,11 @@ function boost_htaccess_cache_dir_generate() {
}
// Set html expiration time to the past and put in boost header if desired.
$files = implode('|' , $files);
$files = '(' . implode('|' , $files) . ')';
if ($gzip) {
$files .= '(\.gz)?';
}
$string .= "<FilesMatch \"\.($files)$\">\n";
$string .= "<FilesMatch \"\.$files$\">\n";
$string .= " <IfModule mod_expires.c>\n";
$string .= " ExpiresDefault A5\n";
$string .= " </IfModule>\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment