jesse9201 Posted October 30, 2002 Share Posted October 30, 2002 Just installed it, but when I point my browser to my domain name, all of my folders (admin, images, etc...) show up instead of the store. How do I protect my store so that you cannot view any of the folders? Link to comment Share on other sites More sharing options...
Declan Posted October 30, 2002 Share Posted October 30, 2002 I think it is beacause you need to setup PHP ini to recognise default.php as your home page. Or you could make a redirect script from index.php to default.php Link to comment Share on other sites More sharing options...
Trusten Posted October 30, 2002 Share Posted October 30, 2002 that's really bad. do this go to application_top make sure and change the default page to 'index.php' then do this, go to catalog/default.php and rename it catalog/index.php also, don't forget to rename the langage folders, such as catalog/includes/languages/english/default.php to catalog/includes/languages/english/index.php let us know how it goes. that's the easiest way. Link to comment Share on other sites More sharing options...
Ajeh Posted October 30, 2002 Share Posted October 30, 2002 You could use an .htaccess file that directs what to do in what order when no file name is setup. I have in my root an .htaccess file that has: DiRectoryindex index.shtml index.html index.htm index.php default.php /missing.html AddHandler server-parsed .shtml AddHandler server-parsed .html AddHandler server-parsed .htm This pretty much covers all the bases and any missing files or non-protected directories also are handled by the missing page. Example: http://www.thewebmakerscorner.com/fred http://www.thewebmakerscorner.com/fred/ http://www.thewebmakerscorner.com/fred/myfile.html Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.