On Thu, 17 Jul 2003 11:38:05 -0400, Thomas McCarthy wrote:
> Hi! I am keeping my portfolio at Http://www.lambelly.com. This is a site
> utilizing PHP templates. My question is this: I could think of no good way
> of linking the index.html page to the php templates other than using a
> javascript redirect.
Firstly, not answering your question, but take a look at:
http://www.lambelly.com/template.php
It is a good idea to have a fall-back page if ?include=something is
missing! Probably you should set '?include=home' if none is given.
Now, on to your question. Create a plain text file called '.htaccess'
(note: the leading dot is important!)
It should have one line of text:
DirectoryIndex template.php?include=home
This specifies a 'default page'.
--
Toby A Inkster BSc (Hons) ARCS | private.php?do=newpm&u= | pgp:0x6A2A7D39
aim:inka80 | icq:6622880 | yahoo:tobyink | jabber:
http://www.goddamn.co.uk/tobyink/ | "You've got spam!"
playing://(nothing)