mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 06:43:24 +00:00
21 lines
543 B
ApacheConf
21 lines
543 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"
|
|
ExpiresByType text/html "access"
|
|
ExpiresByType application/json "access"
|
|
</IfModule>
|
|
|
|
<IfModule mod_headers.c>
|
|
Header add Access-Control-Allow-Origin "*"
|
|
</IfModule>
|