Hi All
Sorry, I'm baffled by this a little. I've installed 3.2.3 and I'm happy that the new and core files have been correctly added and updated. I'm also aware that each category now need 'updating' which I've tried to do and failed. ie the rewritten url gives a 404
What I'm puzzled with is the .htaccess file. An .htaccess file appears only in my www.mywebsite.com/includes/ directory rather than www.mywebsite.com in which zencart is installed. This includes directory has an index.html rather than index.php and the .htaccess file looks like the below. Where am I going wrong? I should also say that if I place a copy of the htaccess file in www.mywebsite.com (which does have an index.php) and disable the one in the includes directory I get a 403 error.
Feels like I'm barking up random trees without knowing what i'm looking for...rrrrrrr : )
Any help is very much appreciated.
Thanks, Steve
Code:
# $Id: .htaccess 1105 2005-04-04 22:05:35Z birdbrain $
#
# This is used with Apache WebServers
# The following blocks direct HTTP requests in this directory recursively
#
# For this to work, you must include the parameter 'Limit' to the AllowOverride configuration
#
# Example:
#
#<Directory "/usr/local/apache/htdocs">
# AllowOverride Limit
#
# 'All' with also work. (This configuration is in your apache/conf/httpd.conf file)
#
# This does not affect PHP include/require functions
#
# Example: http://server/catalog/includes/application_top.php will not work
<Files *.php>
Order Deny,Allow
Deny from all
</Files>
#add the following to protect against people discovering what version your spiders.txt file is
<Files *.txt>
Order Deny,Allow
Deny from all
</Files>
RewriteEngine 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} !^/myrenamedadmin.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [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]
Bookmarks