chmod all files, rsync for deploy, cdn support, build page borked

This commit is contained in:
Colin McLeod
2015-05-25 17:36:48 -07:00
parent 7bab67deff
commit 0a7494ebcb
148 changed files with 150 additions and 153 deletions

20
.htaccess Normal file
View File

@@ -0,0 +1,20 @@
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"
ExpiresByType text/html "access"
ExpiresByType application/json "access"
</IfModule>
<IfModule mod_headers.c>
Header add Access-Control-Allow-Origin "*"
</IfModule>