mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-11 00:33:03 +00:00
chmod all files, rsync for deploy, cdn support, build page borked
This commit is contained in:
20
.htaccess
Normal file
20
.htaccess
Normal 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>
|
||||
Reference in New Issue
Block a user