AlexWoroschilow/fitbase.app/master/web/.htaccess
# enable the directives - assuming they're not enabled globally
ExpiresActive on
<IfModule mod_expires.c>
ExpiresActive On
# send an Expires: header for each of these mimetypes (as defined by server)
ExpiresByType image/png A86400
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}/uc.html -f
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^.*admin.*$
RewriteRule ^(.*)$ uc.html [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app.php [QSA,L]
</IfModule>
On Github License
Files
Download PDF of Htaccess file