Guest Posted June 1, 2004 Share Posted June 1, 2004 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 More sharing options...
Guest Posted June 1, 2004 Share Posted June 1, 2004 Your public directory is outside your document root. Matti Link to comment Share on other sites More sharing options...
Guest Posted June 1, 2004 Share Posted June 1, 2004 :) 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 More sharing options...
burt Posted June 1, 2004 Share Posted June 1, 2004 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 More sharing options...
Guest Posted June 1, 2004 Share Posted June 1, 2004 :) 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 More sharing options...
Guest Posted June 1, 2004 Share Posted June 1, 2004 Thanks for that, didn't realise it would be so simple. Sean :) Link to comment Share on other sites More sharing options...
Guest Posted June 1, 2004 Share Posted June 1, 2004 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.