Files
coriolis/app/.htaccess
2015-05-08 21:16:14 -07:00

21 lines
557 B
ApacheConf

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(.*) /index.html [NC,L]
<IfModule mod_expires.c>
# Activate mod_expires for this directory
ExpiresActive on
ExpiresDefault "access plus 365 days"
ExpiresByType text/html "access"
ExpiresByType application/json "access"
</IfModule>
<IfModule mod_headers.c>
Header add Access-Control-Allow-Origin "*"
</IfModule>