# OCT STUDIOX - Apache Production .htaccess
RewriteEngine On

# Allow direct file access
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]

# Clean terminal rewrite rules
RewriteRule ^culling/?$ culling/index.html [L,QSA]
RewriteRule ^editor/?$ editor/index.html [L,QSA]
RewriteRule ^admin/?$ admin/index.html [L,QSA]

<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript application/json
</IfModule>

<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresDefault "access plus 1 week"
</IfModule>