matiasbastos/deviget/master/public/.htaccess
#AuthName "Planet Travel Holidays"
#AuthType Basic
#AuthUserFile /var/www/vhosts/planettravelholidays.com/pth/public/.htpasswd
#Require valid-user
#php_flag apc.cache_by_default Off
#php_flag apc.enabled Off
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access plus 0 seconds"
</IfModule>
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
rewritecond %{HTTP_HOST} ^planettravelholidays.com [nc]
rewriterule ^(.*)$ http://www.planettravelholidays.com/$1 [r=301,nc,L]
RewriteRule ^images/thumb/(.*)$ thumbs.php?request=/$1 [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
On Github License
Files