Server Response on static files

Aus Wolfgang Wagners Wiki

Folgendes in die .htaccess:

RemoveType .html .htm
<FilesMatch ".+\.html?$">
        AddType text/html .html
        AddType text/html .htm
</FilesMatch>

RemoveType .svg .svgz
<FilesMatch ".+\.svgz?$">
        AddType image/svg+xml .svg
        AddType image/svg+xml .svgz
</FilesMatch>

RemoveType .php
<FilesMatch ".+\.php$">
        ForceType application/x-httpd-php73
</FilesMatch>