Bug #24690
t3lib_compressor should write .htaccess
| Status: | Closed | Start date: | 2011-01-20 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assigned To: | Ernesto Baschny | % Done: | 0% | |
| Category: | - | Spent time: | - | |
| Target version: | 4.5.0 | |||
| TYPO3 Version: | Is Regression: | |||
| PHP Version: | Sprint Focus: | |||
| Complexity: | 
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)
Related issues
History
#1 Updated by Steffen Gebert over 4 years ago
We'll drop this patch for now to come up with a solution in the _.htaccess file.
#2 Updated by Ernesto Baschny over 4 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
