smarbos/adopteitor-client/master/app/.htaccess - Htaccess File

smarbos/adopteitor-client/master/app/.htaccess

RewriteEngine On
Options FollowSymLinks

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /#/$1 [L]

<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 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 1 month"
</IfModule>

RewriteEngine On
RewriteCond %{HTTP_HOST} ^(.+).adoptaungalgoenargentina.com$   [NC]
RewriteCond %{HTTP_HOST} !^www.adoptaungalgoenargentina.com$  [NC]
RewriteCond %{HTTP_HOST} ^m.adoptaungalgoenargentina.com$  [NC]
RewriteRule ^ http://adoptaungalgoenargentina.com/suberror  [L,R]

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME

Comments

Apache