Htaccess File

EuresTools/eVote-web/master/rest/.htaccess

DEFLATE, REQUEST_FILENAME
<IfModule mod_expires.c>
### EXPIRES
# month A2592000, week A604800, day A86400, hour A3600,15 min A900
# irgendwie hat A900 2h zuwenig expire ?? lokales problem?
ExpiresActive On
ExpiresDefault "access plus 4 hours"
ExpiresByType application/javascript A86400
ExpiresByType application/x-javascript A900
ExpiresByType text/javascript A900
ExpiresByType text/html A90
ExpiresByType text/xml A90
ExpiresByType text/css A900
ExpiresByType text/plain A62
ExpiresByType image/gif A86400
ExpiresByType image/jpg A86400
ExpiresByType image/jpeg A86400
ExpiresByType image/png A86400
ExpiresByType image/bmp A86400
ExpiresByType application/x-shockwave-flash A3600
</IfModule>

<IfModule mod_rewrite.c>
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d 

RewriteRule . index.php
</IfModule>

<IfModule mod_deflate.c>
<FilesMatch ".(php|js|css)$">
SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>
Exit mobile version