mwyatt/portfolio/master/.htaccess - Htaccess File

mwyatt/portfolio/master/.htaccess

# general
Options +FollowSymLinks
Options -Indexes
RewriteEngine On
IndexIgnore */*

# allowed
RewriteCond %{REQUEST_URI} !/asset
RewriteCond %{REQUEST_URI} !robots.txt

# all other requests
RewriteRule ^.*$ index.php [L]

# expires
<IfModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault "access plus 10 days"
    ExpiresByType application/x-javascript "access plus 1 month"
    ExpiresByType application/x-icon "access plus 1 year"
    ExpiresByType application/javascript "access plus 1 week"
    ExpiresByType text/plain "access plus 1 month"
    ExpiresByType text/css "access plus 1 week"
    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"
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_URI

Comments

Apache