I'm in the process of creating a localhost version of my online site for some updates. The online site is working fine, but my localhost installation is driving me batty!
I've installed XAMPP v1.7.1 on Windows 7, with the PHP files (save the configure.php's) and database contents copied over from the online version (1.38a base). The localhost store is installed in c:\xampp\store-1.38a and comes up (missing images as expected) if I disable Ceon URI Mappings via admin.
I've got an entry in the database to redirect the index page to /home. When I enable the URI mappings, and go to localhost/store-1.38a, I'm redirected to localhost/home instead of localhost/store-1.38a/home.
Here's a copy of the .htaccess file that's in c:\xampp\store-1.38a:
# Point 404 & 300 errors to the website-specific page
ErrorDocument 404 /index.php?main_page=page_not_found
ErrorDocument 300 /index.php?main_page=page_not_found
# Don't show directory listings for URLs which map to a directory.
Options -Indexes
# Follow symbolic links in this directory.
Options +FollowSymLinks
#-------
RewriteEngine On
#
# Added for Ceon URI Mapping add-on
#
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/store-1.38a/admin.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/store-1.38a/editors.* [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) /store-1.38a/index.php?%{QUERY_STRING} [L]
I've tried the RewriteRule without the /store-1.38a/ prefix with no change in results.
There's obviously something that I'm misinterpreting.