View Single Post
  #3  
Old 01-22-2016, 02:21 PM
 
ant99 ant99 is offline
 

Advanced Member
  
Join Date: Mar 2015
Posts: 39
 

Default Re: Subdirectories not resolving when XC5 is installed on the root

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>
__________________
Ant

XC v5.3.1.8
Horizontal Flyout Categories Menu Module
CloudSearch / CloudFilters

XC v4.7.6
CloudSearch
Reply With Quote