The simple answer is that is just happens, all by itself, as if by magic.
All you have to do is create a file called "index.php", and delete any files
called "index.htm" or "index.html". (You might also want to make sure you
don't have any files called stuff like "home.html" or "default.html", as
some web servers are set up to use those as home pages too, if it can find
them).

So before you go around trying to edit httpd.conf or emailing your web space
provider, just try it, and see what happens. I'd guess it will just work!

Jill



-----Original Message-----
From: Dave [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 26, 2003 8:44 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Redirecting to index.php


Hey guys,

I am wondering how, when people go to my main site, http://splix.dyndns.org,
they get redirected to index.php.

I am used to using HTML, where the first page the user sees is index.html.
How can I do this with PHP?

Thank,
Dave



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to