PDA

View Full Version : Index of/osCommerce ?


eekeek
6-26-05, 04:37 PM
I have my osCommerce site set up like this http://www.mysite.com/osCommerce/catalog - Now when I delete the "catalog" part so the line now reads http://www.mysite/osCommerce/ - I see "Index of /osCommerce" and this is what is listed:

Parent Directory
CHANGELOG
FAQ
INSTALL
LICENSE
README
STANDARD
TODO
catalog
extras
tep_database-pr2.2-CVS.pdf

My question(s) is this bad? - Can I change this to something like www.mysite.com/catalog - will I have to reinstall osCommerce or is this an easy fix? - Any help is appreciated.

tacimala
6-26-05, 04:55 PM
It's much easier if you just set up the directories in the order you want to have them initially, so yes you would want to "reinstall" osC. The reason that directory is showing up like it is right now is because you don't have an index file in that directory so it shows the directory structure instead. Best bet would be to take the osCommerce directory out of your structure and just have it mysite.com/catalog like you are asking. No need to have that extra directory in there. Once you are all set up, you should also turn off Indexes using an .htacces file so that others won't see pages like you are seeing now.