Elaniobro/elan.trybuch.com/master/.htaccess - Htaccess File

Elaniobro/elan.trybuch.com/master/.htaccess

RewriteRule %{HTTP_HOST} !^www.trybuch.com$
RewriteRule %{HTTP_HOST} !^trybuch.com$
RewriteCond %{HTTP_HOST} ^(.*).trybuch.com$
RewriteRule ^/(.*)$ http://trybuch.com/%1/$1 [QSA]
AddType application/x-httpd-php .php

## CACHING RULES ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 month"
ExpiresByType image/jpeg "access 1 month"
ExpiresByType image/gif "access 1 month"
ExpiresByType image/png "access 1 month"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType image/x-icon "access 1 month"
ExpiresDefault "access 1 month"
</IfModule>

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST

Comments

Apache