Re: PHP file as homepage?
| From: | Graham Cossey | Date: | Tue, 15 Mar 2005 16:34:31 +0000 |
| Subject: | Re: PHP file as homepage? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-210827@lists.php.net to get a copy of this message | ||
On Tue, 15 Mar 2005 11:10:30 -0500, Phil Neeb <06prneeb@alma.edu> wrote:
> I've noticed that PHP.net uses index.php as its homepage and well, I'm
> curious as to how that's possible. Is it the server setup that allows
> them to load a php file as their homepage or something else?
Yes, it's normally the configuration of the web server. Apache, for
example, can be given a list of possible index pages such as :
DirectoryIndex index.htm index.html index.php
No doubt there are various other more complex methods as well.
--
Graham