
Originally Posted by
Mike_Dean
Hi,
Hoping someone can help as I'm into the 4th hour and no joy on this mod.
I'm working on a new site with a clean install of 1.5.4 on my local server (wamp)
I have installed the mod several times and it all check out fine using the installation check page
I have generated URI mapping on a particular category page and individual product, but I'm getting 404 and 500 errors depending on the following.
If I DON'T add the .htaccess file, I can get to the store front, but I get 404 errors on any of the product category pages.
If I DO install the .htaccess file in either the wamp/www/ folder of the wamp/www/zencart folder I get 500 error when I try an load the sites main page.
This is what the .htaccess file currently looks like
## BEGIN CEON URI MAPPING REWRITE RULE
RewriteEngine On
# ONLY rewrite URIs beginning with /zencart/
RewriteCond %{REQUEST_URI} ^/zencart/ [NC]
# 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} !^/zencart/admindemo [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/zencart/editors/ [NC]
# Don't rewrite logs directory
RewriteCond %{REQUEST_URI} !^/zencart/logs/ [NC]
# Don't rewrite zencart directory
RewriteCond %{REQUEST_URI} !^/zencart/ [NC]
# Handle all other URIs using Zen Cart (its index.php)
# RewriteRule .* index.php [QSA,L]
RewriteRule .* /zencart/index.php [QSA,L]
## END CEON URI MAPPING REWRITE RULE
I have modified the last line of the file to
/index.php
index.php
/zencart/index.php
zencart/index.php.
All to no avail.
The worst part is I have an older version of it working nicely on my old 1.3.9 site !!
Any suggestions as to what I may have done wrong would be greatly appreciated
Many thanks,
Mike
Bookmarks