Results 1 to 3 of 3
  1. #1

    .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:

    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:

    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.


  2. #2
    Join Date
    May 2003
    Ask your host if they allow htaccess and mod_rewrite.

  3. #3
    The guy I downloaded this mod from also sold me another script which uses mod rewrite and I have that running on the same hosting account and it works fine. I'm with Dathorn. I also have used htaccess to secure the admin setion of osCommerce for this particular site as well.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts