This topic has 6 replies, 3 voices, and was last updated 9 years by Radu.

  • Author
  • #144604
     zingodingo
    Participant

    I have installed Kleo in a subfolder of my shopping cart x-cart. The blog, forum and actually everything except admin and main page is showing the cart instead.

    http://www.grandtea.com/teacanvas/

    root, shopping cart’s htaccess file.

    COPY CODE
    ---
    RewriteOptions inherit
    # 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 index.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>
    #144653
     Laura
    Moderator
    Not marked as solution
    #144711
     Radu
    Moderator
    Not marked as solution
    #144721
     zingodingo
    Participant
    Not marked as solution
    #144885
     Radu
    Moderator
    Not marked as solution
    #144897
     zingodingo
    Participant
    Not marked as solution
    #144922
     Radu
    Moderator
    Not marked as solution
Viewing 7 posts - 1 through 7 (of 7 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?