Sorry for the delay Tony, but this is still a problem we're running into. Here is the HTACCESS file from the root.
Code:
# vim: set ts=2 sw=2 sts=2 et:
#
# Apache/PHP settings
#
# @author Qualiteam software Ltd <info@x-cart.com>
# @copyright Copyright (c) 2010-2014 Qualiteam software Ltd <info@x-cart.com>. All rights reserved
# @license http://www.x-cart.com/license-agreement.html X-Cart 5 License Agreement
# @link http://www.x-cart.com/
Options -Indexes
DirectoryIndex cart.php
FileETag none
<IfModule mod_rewrite.c>
RewriteEngine on
# #BUG-772 Add HTTP_AUTHORIZATION header for fastCGI (need for XC\Qiwi)
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
RewriteRule (^|/)\. - [F]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^sitemap.xml(\?.+)?$ cart.php?target=sitemap [NC,L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^((([/_a-z0-9-]+)/)?([_a-z0-9-]+)/)?([_a-z0-9-]+)(/?)(\.([_a-z0-9-]+))?$ cart.php?url=$5&last=$4&rest=$3&ext=$7 [NC,L,QSA]
RewriteBase /
</IfModule>
<IfModule mod_expires.c>
# Expire images/js/css header
ExpiresActive On
ExpiresDefault A0
# Images expires in 2 weeks
ExpiresByType image/png A1209600
ExpiresByType image/gif A1209600
ExpiresByType image/jpg A1209600
ExpiresByType image/jpeg A1209600
ExpiresByType image/ico A1209600
ExpiresByType image/x-icon A1209600
# CSS/JS now work with dynamic unique query string. 1 year expires
ExpiresByType text/css A31104000
ExpiresByType text/javascript A31104000
ExpiresByType application/javascript A31104000
</IfModule>