Originally Posted by
litepockets
The .htaccess goes in the same directory that holds you admin directory, includes directory, images directory, etc. This is called your store root directory. In some cases it may be different than your real "root" directory. For example, a domain with zen-cart installed like
www.domain.com/store/ would have "store" as their root directory. Inside store, u would find the admin folder, images, etc.
Posted via Mobile Device
Thanks much for your reply. Sorry for confusing you.
But I tried putting the modified .htaccess into the root folder too. However, the same problem occurred - "500 Internal Server Error". I think I must get something wrong in the .htaccess. The content is as follows:
Code:
php_flag suhosin.session.encrypt off
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} !^/admin.* [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]
I just added "php_flag suhosin.session.encrypt off" on the first line of the existing file..
Many thanks again for your time and patience, litepockets.
Ashely
Bookmarks