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


Reply With Quote
