Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Having index.php as home page


oakhill

Recommended Posts

Hi everyone,

 

I really sorry to do this but I am a little confused despite searching the forum :( I was wondering if I could ask for some guidance....

 

I want to bring my site up live but am having a little problem! My original site ran from a index.html page and worked by just placing the file inside the httpdocs file - it then read from the main folder (ie the equivalent of the oscommerce cataog folder) I am currently using a shopfactory setup. I imagined that the index.php file would work the same way but when I go through the same process, all I keep getting is the 403 forbidden message.

 

I have played round on the permission settings on the catalog folder but with no success. I have read that you can move the catalog folder outside the httpdocs area but I don;t really want to play round with that if there is another way.

 

Has anyone else changed from using an index.html page as the home page to using the index.php from oscommerce? And what permissions should the catalog folder have? I have a password set to my admin pages.

 

I didn't realise it wouldn't be as easy as what I had set up originally!

 

Thank you in advance! B)

Link to comment
Share on other sites

do you mean to say you want the actual store front index.php as your home page?

 

remove or rename your index.html file in the root directory

move all your store files out of catalog and into your root directory

then change your directories in the two config files to reflect your new catalog directory (which woudl be your root).

 

hope that helps

Link to comment
Share on other sites

Thank you for your reply - thats exactly what I want to do! Just one question - which are the store files? Are they ones such as account.php, product info, etc

 

:)

everything in the /catalog/ dirctory is the store files

 

including all subdirectory's (includes, languages etc)

Link to comment
Share on other sites

I have done as directed but keep getting this message:

 

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

 

I moved all the catalog files into the the root directory (for my server it is httpdocs or httpsdocs). I changed the two configure files to "/" in the various references to catalog - plus removed the original index.html page but still get the 403 forbidden error. The funny thing is if I type the direct url address into the browser, the index.php file comes up fine!

 

 

Is this something to do with permissions? Or is it something to do with how my domain works?

 

Help! :blink:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...