Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Forbiden !


Guest

Recommended Posts

Posted

Hi,

 

I've installed the latest version of Os-Commerce, without installing it with Fantastico wich is supplied by my ISP.

everything whent well ....i have access to the admin side of the store but when i try to enter the store www.charme-et-vous.com/catalog it gives me that message ...

Forbidden

You don't have permission to access /catalog/ on this server.

All my permission seems ok !

Your help would be appreciate

Posted

Usually happens because default.php is not set up as an index page in your apache config file.

 

You can confirm this by using

 

www.charme-et-vous.com/catalog/default.php

 

if this works then that's almost certainly your problem.

Trust me, I'm an Accountant.

Posted

Thank's that is the problem

How do i fix this ?

can i rename my defaut.php to index.php ?

 

Regards

Posted

Ask your host to make default.php an index page. If they can't do this ask if you can use an htaccess file to change the index files.

 

If none of the above, rename default.php to index.php then in configure.php change

 

DEFINE('FILENAME_DEFAULT', 'default.php');

to

DEFINE('FILENAME_DEFAULT', 'index.php');

 

HTH

Trust me, I'm an Accountant.

Posted

or create a page called index.php and put this code in it:

 

<?php

header("Location: default.php");

?>

 

That's what I did for my site.

Patrick

  • 2 months later...
Posted

I used Ian's solution.

 

But for my snapshot of 2002-12-19 I need to change that define line in application_top.php instead of configure.php. Also you need to change the name of the default.php in the languages' section too. Don't forget to change all languages if you use several.

NewsDesk(934) / FAQDesk(1106) / OrderCheck(1168) :::

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...