RE: [PHP-WIN] Redirecting to index.php

From: Date: Tue, 28 Jan 2003 12:06:04 +0000
Subject: RE: [PHP-WIN] Redirecting to index.php
Groups: php.windows 
Request: Send a blank email to php-windows+get-18133@lists.php.net to get a copy of this message
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:dackerman@speakeasy.net] Sent: Sunday, January 26, 2003 8:44 PM To: php-windows@lists.php.net 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

« previous php.windows (#18133) next »