%PDF- %PDF-
Direktori : /home/cargonizer/public_html/ |
Current File : /home/cargonizer/public_html/htaccess.th |
ErrorDocument 404 / RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^etiket/(.*)\.html$ index.php?s=etiket&tag=$1 [NC,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)-s(.*?)\.html$ index.php?s=page&id=$2 [NC,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)\.html$ index.php?s=$1 [NC,QSA] ExpiresActive On ExpiresDefault "access plus 1 seconds" ExpiresByType text/html "access plus 1 seconds" ExpiresByType image/x-icon "access plus 2592000 seconds" ExpiresByType image/gif "access plus 2592000 seconds" ExpiresByType image/jpeg "access plus 2592000 seconds" ExpiresByType image/png "access plus 2592000 seconds" ExpiresByType text/css "access plus 604800 seconds" ExpiresByType text/javascript "access plus 86400 seconds" ExpiresByType application/x-javascript "access plus 86400 seconds" <FilesMatch "\.(jpg|jpeg|png|gif|js|css|woff|svg)$"> Header set Expires "31 Dec 2016" </FilesMatch> <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf|woff|svg)$"> Header set Cache-Control "max-age=0, public" </FilesMatch> # 2 DAYS <FilesMatch "\.(xml|txt|woff|svg)$"> Header set Cache-Control "max-age=172800, public, must-revalidate" </FilesMatch> # 2 HOURS <FilesMatch "\.(html|htm|woff|svg)$"> Header set Cache-Control "max-age=72000, must-revalidate" </FilesMatch>