Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

file extension issue


Guest

Recommended Posts

I have a 2nd install of OsCommerce running locally on my PC, the first one is accessable by simply typing in: http://localhost/catalog/ , however for my 2nd install which is located in my 'public' folder, I have to type in :http://localhost/public/catalog/index.php to raise the front page. Why this install has ended up needing the index.php extension to work is beyond me. Any ideas's anyone?

 

Incidently if I leave the extension out and just type in : http://localhost/public/catalog/ (as I'd like to be able to) i get a page long list of the files displayed as folders. :huh:

Link to comment
Share on other sites

:) Cheers for that Matti, so to resolve this issue (as I've already got a '/catalog' folder in my 'www' folder what would I have to do to run x2 installs within my root folder?

Link to comment
Share on other sites

Make sure that index.php is defined as a "DirectoryIndex" in httpd.conf

 

(locate the file, search it for index.html - make sure it also has index.php on the same line. If it does then that ain't your problem. If it doesn't add it in, and restart httpd.

Link to comment
Share on other sites

:) Cheers for that Matti, so to resolve this issue (as I've already got a '/catalog' folder in my 'www' folder what would I have to do to run x2 installs within my root folder?

I run a whole bunch from my document root - I usually rename the 'catalog' directory to the project name - to initiate installation I just use http://localhost/myproject/ - then run through the installation.

 

Matti

Link to comment
Share on other sites

Hi Matti, it's all running OK now, albeit for 1 problem, and that is my 'button' images aren't showing across the site, also the little flag images on the front page are missing, I can't work out why this would be, any idea please? :blink:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...