Project

General

Profile

Actions

Bug #72886

closed

.htaccess file should test if Apache version is lower than 2.3.6

Added by Jérémie Roulin almost 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
Start date:
2016-01-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

Hi there,

To get gzip compression activate on Apache 2.3.6 or lower we should test in .htaccess file something like this :

    # Compresses all output labeled with one of the following media types.
    <IfVersion >= 2.3.7>
        <IfModule mod_filter.c>
            AddOutputFilterByType DEFLATE application/atom+xml \
                application/javascript \
                application/json \
                application/ld+json \
                application/manifest+json \
                application/rdf+xml \
                application/rss+xml \
                application/schema+json \
                application/vnd.geo+json \
                application/vnd.ms-fontobject \
                application/x-font-ttf \
                application/x-javascript \
                application/x-web-app-manifest+json \
                application/xhtml+xml \
                application/xml \
                font/eot \
                font/opentype \
                image/bmp \
                image/svg+xml \
                image/vnd.microsoft.icon \
                image/x-icon \
                text/cache-manifest \
                text/css \
                text/html \
                text/javascript \
                text/plain \
                text/vcard \
                text/vnd.rim.location.xloc \
                text/vtt \
                text/x-component \
                text/x-cross-domain-policy \
                text/xml
        </IfModule>
    </IfVersion>

    <IfVersion <= 2.3.6>
        AddOutputFilterByType DEFLATE application/atom+xml \
            application/javascript \
            application/json \
            application/ld+json \
            application/manifest+json \
            application/rdf+xml \
            application/rss+xml \
            application/schema+json \
            application/vnd.geo+json \
            application/vnd.ms-fontobject \
            application/x-font-ttf \
            application/x-javascript \
            application/x-web-app-manifest+json \
            application/xhtml+xml \
            application/xml \
            font/eot \
            font/opentype \
            image/bmp \
            image/svg+xml \
            image/vnd.microsoft.icon \
            image/x-icon \
            text/cache-manifest \
            text/css \
            text/html \
            text/javascript \
            text/plain \
            text/vcard \
            text/vnd.rim.location.xloc \
            text/vtt \
            text/x-component \
            text/x-cross-domain-policy \
            text/xml
    </IfVersion>
Actions #1

Updated by Markus Klein almost 9 years ago

  • Description updated (diff)
Actions #2

Updated by Gerrit Code Review almost 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46150

Actions #3

Updated by Gerrit Code Review almost 9 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46150

Actions #4

Updated by Gerrit Code Review almost 9 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46150

Actions #5

Updated by Gerrit Code Review almost 9 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46150

Actions #6

Updated by Gerrit Code Review over 8 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46150

Actions #7

Updated by Gerrit Code Review over 8 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47020

Actions #8

Updated by Eric Chavaillaz over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Gerrit Code Review over 8 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47021

Actions #10

Updated by Eric Chavaillaz over 8 years ago

  • Status changed from Under Review to Resolved
Actions #11

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF