Mini Shell

Direktori : /home/brasafestival/www/old/bkp_2023/app/webroot/
Upload File :
Current File : /home/brasafestival/www/old/bkp_2023/app/webroot/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php [QSA,L]
    Options -Indexes
</IfModule>

<FilesMatch "\.(css|js|html|php)$">
    SetOutputFilter DEFLATE
</FilesMatch>

<IfModule mod_setenvif>  
    # Netscape 4.x has some problems...  
    BrowserMatch ^Mozilla/4 gzip-only-text/html  
    # Netscape 4.06-4.08 have some more problems  
    BrowserMatch ^Mozilla/4\.0[678] no-gzip  
    # MSIE masquerades as Netscape, but it is fine  
    BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html  
    # Don't compress images  
    SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary  
</IfModule>

<ifModule mod_deflate.c>
    <filesMatch "\.(js|css|html|php)$">
        AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript
    </filesMatch>
</ifModule>

<IfModule mod_headers.c>
    Header unset ETag
</IfModule>

FileETag None
<IfModule mod_expires.c>
    ExpiresActive on
    ExpiresDefault "access plus 7 days"
    ExpiresByType text/cache-manifest "access plus 0 seconds"
    # Html
    ExpiresByType text/html "access plus 0 seconds"
    # Data
    ExpiresByType text/xml "access plus 0 seconds"
    ExpiresByType application/xml "access plus 0 seconds"
    ExpiresByType application/json "access plus 0 seconds"
    # Feed
    ExpiresByType application/rss+xml "access plus 1 hour"
    ExpiresByType application/atom+xml "access plus 1 hour"
    # Favicon
    ExpiresByType image/x-icon "access plus 1 week"
    # Media: images, video, audio
    ExpiresByType image/gif "access plus 7 days"
    ExpiresByType image/png "access plus 7 days"
    ExpiresByType image/jpg "access plus 7 days"
    ExpiresByType image/jpeg "access plus 7 days"
    ExpiresByType video/ogg "access plus 7 days"
    ExpiresByType audio/ogg "access plus 7 days"
    ExpiresByType video/mp4 "access plus 7 days"
    ExpiresByType video/webm "access plus 7 days"
    # HTC files
    ExpiresByType text/x-component "access plus 7 days"
    # Webfonts
    ExpiresByType application/x-font-ttf "access plus 7 days"
    ExpiresByType font/opentype "access plus 7 days"
    ExpiresByType application/x-font-woff "access plus 7 days"
    ExpiresByType image/svg+xml "access plus 7 days"
    ExpiresByType application/vnd.ms-fontobject "access plus 7 days"
    # CSS / JS
    ExpiresByType text/css "access plus 7 days"
    ExpiresByType application/javascript "access plus 7 days"
    ExpiresByType application/x-javascript  "access plus 7 days"
</IfModule>

#Força o IE a sempre carregar utilizando a última versão disponível
<IfModule mod_headers.c>
    <FilesMatch "\.(js|css|gif|png|jpeg|pdf|xml|oga|ogg|m4a|ogv|mp4|m4v|webm|svg|svgz|eot|ttf|otf|woff|ico|webp|appcache|manifest|htc|crx|oex|xpi|safariextz|vcf)$" >
        Header unset X-UA-Compatible
    </FilesMatch>
</IfModule>

Zerion Mini Shell 1.0