
PK 
##### START CubeCart .htaccess #####
### GZIP Compression ###
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
</ifmodule>
### Files Expiration ###
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/html "access 0 seconds"
ExpiresDefault "access 7 days"
</IfModule>
### File Security ###
<FilesMatch "\.(htaccess)$">
Order Allow,Deny
Deny from all
</FilesMatch>
### Apache directory listing rules ###
DirectoryIndex index.php index.htm index.html
IndexIgnore *
<ifModule mod_headers.c>
Header always append X-Frame-Options SAMEORIGIN
Header always set X-Content-Type-Options nosniff
Header always set Referrer-Policy strict-origin-when-cross-origin
</ifModule>
### Rewrite rules for SEO functionality ###
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase [[relativeurl]]/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=[[relativeurl]]/favicon.ico
RewriteRule ^(.*)?$ index.php?seo_path=$1 [L,QSA]
</IfModule>
### Default store 404 page ###
ErrorDocument 404 [[relativeurl]]/index.php
## Override default 404 error document for missing page resources ##
<FilesMatch "\.(gif|jpe?g|png|ico|css|js|svg|webp)$">
ErrorDocument 404 "<html></html>
</FilesMatch>
##### END CubeCart .htaccess #####


PK 99