Guest Posted February 24, 2003 Share Posted February 24, 2003 Why is there both index.php and default.php? They appear to be identically large files. I tried to find the answer in docs and this forum. I found reference to changing default.php to index.php in application_top but then can I delete default.php? What about the language files? If someone could point me to the info, it would really be appreciated. My apologies if this is already posted somewhere. Link to comment Share on other sites More sharing options...
rseigel Posted February 24, 2003 Share Posted February 24, 2003 Just use .htaccess http://guide.oscdox.com/Installation_Guide...nstructions.htm More good info at http://guide.oscdox.com/ as well. Link to comment Share on other sites More sharing options...
Guest Posted February 25, 2003 Share Posted February 25, 2003 Just use .htaccess http://guide.oscdox.com/Installation_Guide...nstructions.htm More good info at http://guide.oscdox.com/ as well. Thank you! I understand and have made the change. The problem is I still cannot find anything that says I can delete the index.php. I figured it out though! Now I only have to edit the default.php file. I still wonder why the two are there in the first place. There had to be some reason? Thanks again Link to comment Share on other sites More sharing options...
Guest Posted February 25, 2003 Share Posted February 25, 2003 default.php is for the catalog and the index.php is for the admin HTH Link to comment Share on other sites More sharing options...
Ian Posted February 25, 2003 Share Posted February 25, 2003 The reason the catalog main file is called default.php is for a good reason. Normally an apache webserver is setup to look for the index file in a set way. Normally default.php is at the end of the list. This allows you to upload another index file, index.html or index.php to use as a 'splash' page. As slash pages are not usually needed on admin, it's ok to use index.php as the intro page. Ian Trust me, I'm an Accountant. Link to comment Share on other sites More sharing options...
rseigel Posted February 25, 2003 Share Posted February 25, 2003 Just what every good ecommerce site needs to get in the way of sales - a splash page. :roll: :wink: Link to comment Share on other sites More sharing options...
Guest Posted February 25, 2003 Share Posted February 25, 2003 I'm a bit confused about the index.php => admin statements. In my copy, there is a separate index.php in the admin/ folder. I've been talking about the fact that I have an index.php AND a default.php in the same catalog folder. But I do understand about the idea of using a splash page on index.php and using default.php to the software. It seems to me the index.php should just point to (or include) the default.php.. instead of duplicating it. In any case, I just deleted the index.php (not the one in admin/) and everything works great. Thanks for all the replies. This is great! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.