Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2011
    Posts
    6
    Plugin Contributions
    0

    red flag More store in the same host with CEON URI Mapping?

    Hi ,
    I want to create 4 diferent zen cart store in the same host . 1 principal domain is directly in the root and i have another 3 AddDomains.
    Problem: I can`t acces my Add Domains ;
    i think my .htaccess is the problem but i dont know how to config this file.
    Can anyone help me ?
    Thank you!

    My .htaccess
    Code:
    RewriteEngine On
    
    RewriteCond %{HTTP_HOST} ^principalsite.com$ [NC]
    RewriteCond %{REQUEST_URI} !^/principalsite [NC]
    
    RewriteCond %{REQUEST_URI} !^/editors [NC]
    RewriteRule ^(.*)$ http://www.principalsite.com/$1 [R=301,L]
    
    
     # =============================================================
    <Files 403.shtml>
    order allow,deny
    allow from all
    </Files>
    
    
    ## BEGIN CEON URI MAPPING REWRITE RULE
    
    RewriteEngine On
    
    # Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
    RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
    # Don't rewrite any URIs for some, popular specific file format extensions,
    #   which are not covered by main file extension condition above
    RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
    # Don't rewrite any URIs for some specific file format extensions,
    #   which are not covered by main file extension condition above
    #   Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
    #RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
    # Don't rewrite admin directory
    RewriteCond %{REQUEST_URI} !^/xxxxxxx [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/editors/ [NC]
    # Don't rewrite siteadaugat directory
    RewriteCond %{REQUEST_URI} !^/xxxxxx/ [NC]
    # Don't rewrite cameresupraveghere.biz directory
    RewriteCond %{REQUEST_URI} !^/xxxxxxx.biz/ [NC]
    # Don't rewrite css directory
    RewriteCond %{REQUEST_URI} !^/css/ [NC]
    # Don't rewrite hclbebe1 directory
    RewriteCond %{REQUEST_URI} !^/hclbebe1/ [NC]
    # Don't rewrite ebook directory
    RewriteCond %{REQUEST_URI} !^/ebook/ [NC]
    # Don't rewrite cgi-bin directory
    RewriteCond %{REQUEST_URI} !^/cgi-bin/ [NC]
    # Don't rewrite noris directory
    RewriteCond %{REQUEST_URI} !^/noris/ [NC]
    # Don't rewrite js directory
    RewriteCond %{REQUEST_URI} !^/js/ [NC]
    # Don't rewrite fonts directory
    RewriteCond %{REQUEST_URI} !^/fonts/ [NC]
    # Don't rewrite xxxxxxxxxxx directory
    RewriteCond %{REQUEST_URI} !^/xxxxxxxxxxx/ [NC]
    # Don't rewrite tempEP directory
    RewriteCond %{REQUEST_URI} !^/tempEP/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* index.php [QSA,L]
    RewriteCond %{REQUEST_FILENAME} !-f [NC] 
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*).php$ index\.php?main_page=$1&%{QUERY_STRING} [L]
    RewriteRule ^(.*).html$ index.php?main_page=$1&%{QUERY_STRING} [L] 
    ## END CEON URI MAPPING REWRITE RULE

  2. #2
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: More store in the same host with CEON URI Mapping?

    Easy enough to figure out if it's the .htaccess preventing access to your add on domains. Back it up first, then delete it and see if you then have access.

  3. #3
    Join Date
    Feb 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: More store in the same host with CEON URI Mapping?

    yes is work ,
    but i think is not ok without .htaccess , right?
    i need some rules to insert in my .htaccess and i don`t know what should i put there

    thx

 

 

Similar Threads

  1. v139h Ceon URI Mapping - Moved to New Host Server
    By srlaird in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 11 Aug 2014, 06:40 PM
  2. Problem with CEON URI Mapping
    By nicksab in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 23 Apr 2014, 03:42 PM
  3. v139d Ceon uri mapping, how to generate uri mapping for bulk bulk-imported products?
    By mybiz9999 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 8 Jan 2013, 06:52 AM
  4. v150 Problem with Ceon Uri Mapping Add on
    By GodfatherAntiques in forum General Questions
    Replies: 5
    Last Post: 2 Jul 2012, 08:04 PM
  5. Old adresses with ceon uri mapping
    By Tallyho in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 2 Dec 2010, 12:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg