what you can do also is using a HTTP header to redirect the user
automatically to the index.php:

the head of index.html could look like this:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="refresh" content="0;URL=index.php">
</head>

By this way you don;t need to change anything on apache...

Rom
----- Original Message -----
From: S Bey <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 17, 2001 4:35 PM
Subject: [PHP] Homepage


Just a small (and hopefully easy) question.

Is there a PHP equivalent of index.html? I want to be able to go straight
to a PHP script without the user specifying the filename.

Thanks, Steve.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to