My current task is to upgrade my store from 1.3.8a to 1.3.9h
I'm having difficulty using zc_install to install a demo version of 1.3.9h into a sub-directory:
www.mysite.com/demo/ due to these lines in my .htaccess file
Code:
# 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} !^/admin_1700.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
# Don't rewrite payment pages/callback handlers
# (Won't be rewritten by rules above but included here in case rewriting of URIs ending in .php is added)
RewriteCond %{REQUEST_URI} !^/ipn_main_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/iridium_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/localities_remote_loader.php.* [NC]
RewriteCond %{REQUEST_URI} !^/nochex_apc_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/protx_direct_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/realex_remote_3d_secure_iframe.php.* [NC]
# Don't rewrite blog directories
RewriteCond %{REQUEST_URI} !/blog.* [NC]
# Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
RewriteCond %{REQUEST_URI} !/frontend.* [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) index.php?%{QUERY_STRING} [L]
The plan is to get my existing site up and running in the demo folder, on 1.3.9h, before going live with it.
I've seen reference to the fact that the CEON .htaccess rules prohibit the use of zc_install but cannot find a solution.
I'm thinking that I temporarily remove the above lines from .htaccess until I've been through the zencart install process. Is this the recommended way? Will the above lines of code cause problems with the future operation of my 'demo' store?
One post referred to upgrading through the individual zencart upgrades one by one from 1.3.8a to 1.3.9h, I suppose one might then be able to work on the 'live' site without too much interruption. This seems like a lot more work and given that I have CEON mapping just the way I want it and that I have numerous other mods installed, is this a better way of upgrading than jumping straight from 8a to 9h?
Thanks
Simon
Bookmarks