TieJu/web_page/master/app/.htaccess - Htaccess File

TieJu/web_page/master/app/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteBase /dev/hg14866_page_3/app
    RewriteRule    ^$    webroot/    [L]
    RewriteRule    (.*) webroot/$1    [L]
</IfModule>
## cache control
<IfModule mod_expirs.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 week"
ExpiresByType image/jpeg "access 1 week"
ExpiresByType image/gif "access 1 week"
ExpiresByType image/png "access 1 week"
ExpiresByType text/css "access 1 week"
ExpiresByType application/pdf "access 1 week"
ExpiresByType text/x-javascript "access 1 week"
ExpiresByType application/x-shockwave-flash "access 1 week"
ExpiresByType image/x-icon "access 1 week"
ExpiresDefault "access 1 day"
</IfModule>

On Github License

Files

Download PDF of Htaccess file

Comments

Apache