.htaccess help please

I'm having a problem with .htaccess that I need a little help with. I'm trying to install a free module for osCommerce that can be found here: http://www.rinalds.com/pages/php/osclist

This module uses mod rewrite to make the URLs in the catalog search engine friendly. I followed the instructions which are all very basic but keep getting stuck. Once I've uploaded the files, when I browse to the folder I get this error:

Forbidden
You don't have permission to access /catalog/glance/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I'm guessing this has something to do with the .htaccess file which has these contents:

Options FollowSymLinks
RewriteEngine on
RewriteRule ^product/([^/]+)/(.*) ../product_info.php?products_id=$2
RewriteRule ^lang/(.*) index.php?lang=$1

If I rename the .htaccess file to something else, the index.php page it gives me the error for seems to load up fine. But I need the .htaccess file to work because otherwise the links on that index.php page cannot be translated back to the dynamic links. Any ideas would be appreciated.

Thanks.

 

 

 

 

Top