Project

General

Profile

Actions

Bug #24690

closed

t3lib_compressor should write .htaccess

Added by Steffen Gebert over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2011-01-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

t3lib_compressor should write .htaccess

<FilesMatch "\.(js|css)(\.gzip)?$"> 
        <IfModule mod_expires.c>
                ExpiresActive on
                ExpiresDefault "access plus 7 days" 
        </IfModule>
        FileETag MTime Size
</FilesMatch>

(issue imported from #M17175)


Files

17175.diff (1.01 KB) 17175.diff Administrator Admin, 2011-01-21 00:35

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #24639: Add Expires header to .htaccessClosedErnesto Baschny2011-01-18

Actions
Actions #1

Updated by Steffen Gebert over 13 years ago

We'll drop this patch for now to come up with a solution in the _.htaccess file.

Actions #2

Updated by Ernesto Baschny over 13 years ago

As decided later on in a Skype meeting with Christian Kuhn, Steffen Gebert and myself, we added this feature and made if configurable at the end:

$TYPO3_CONF_VARS['SYS']['generateApacheHtaccess']=1 (default)

Committed to trunk, rev. 10212

Actions

Also available in: Atom PDF