cevc96/tours/master/.htaccess - Htaccess File

cevc96/tours/master/.htaccess

RewriteEngine on
RewriteCond $1 !^(index.php|uploads|images|public|robots.txt)
RewriteRule ^(.*)$ /tours/index.php/$1 [L]

<IfModule mod_deflate.c>
<FilesMatch ".(html|txt|css|js|php|pl)$">
SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>

<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On 
# Default directive
ExpiresDefault "access plus 1 month"
# My favicon
ExpiresByType image/x-icon "access plus 1 year"
# Images
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
# CSS
ExpiresByType text/css "access plus 1 month"
# Javascript
ExpiresByType application/javascript "access plus 1 year"
</IfModule>

On Github License

Files

Download PDF of Htaccess file
DEFLATE

Comments

Apache