By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,760 Members | 955 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,760 IT Pros & Developers. It's quick & easy.

index.php

P: n/a
Hi,
Does a server automatically pickup index.php as the default page in the
same way as it would with index.html if the specific file is not defined?.

Dave

Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

"Dave Moore" <da**********@baesystems.com> a écrit dans le message de news:
42********@glkas0286.greenlnk.net...
Hi,
Does a server automatically pickup index.php as the default page in the same way as it would with index.html if the specific file is not defined?.

Dave


Hi,
If your Server is Apache, you must modify the httpd.conf.
Find the directive
DirectoryIndex
And add :
DirectoryIndex index.html index.php

Bye,
Jul 17 '05 #2

P: n/a
*** Dave Moore wrote/escribió (Tue, 3 May 2005 13:11:24 +0100):
Does a server automatically pickup index.php as the default page in the
same way as it would with index.html if the specific file is not defined?.


Nope, default filename is a customizable setting in most web servers.

If it's an Apache server with PHP configured, though, it's quite likely
that index.php will be in the list.
--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.