Koozali.org: home of the SME Server

default.php

Tyrone Miles

default.php
« on: January 28, 2003, 02:42:42 AM »
What do I need to do to make default.php one of the names included as a default for websites in an ibay?

Bahuma

Re: default.php
« Reply #1 on: January 28, 2003, 03:15:47 AM »
You will need to get into the templates and find the 50DirectoryIndex00. You will see something like this

DirectoryIndex index.htm index.html index.shtml index.cgi

You can then add default.php onto the end. Make sure you edit the custom templates and you will need to rebuild the templates when finished

Chaloner Hale

Re: default.php
« Reply #2 on: January 28, 2003, 04:14:35 AM »
Perhaps this could work for you;

Make a file called index.php with the following contents;

   header("Location: http://www.yourdomain.com/default.php");
   exit;
?>

Tyrone Miles

Re: default.php
« Reply #3 on: January 28, 2003, 04:18:34 AM »
Nice, nice.. Thanks you guys BOTh answers were great!

Chaloner Hale

Re: default.php
« Reply #4 on: January 28, 2003, 04:28:25 AM »
Must be for osCommerce.....

Need help I can do the install in less than 10 minutes in an ibay. Admin can be in its own PROTECTED ibay....

Chal

Tyrone Miles

Re: default.php
« Reply #5 on: January 28, 2003, 09:17:44 AM »
Sounds good, could you show me?

Allard van den Brul

Re: default.php
« Reply #6 on: January 28, 2003, 08:16:52 PM »
Hi,

I liked the first idea the best apart from the fact that you should not modify the original templates but create a custom version.

Howto do this you can find on the URL below.
http://www.e-smith.org/docs/papers/templates.html#AEN77

Cheers,

Allard