|
Posted by Chris Shiflett on 03/15/05 18:28
Phil Neeb 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?
You can specify these, in order or preference, with the DirectoryIndex
directive (Apache). In httpd.conf, just do something like this:
DirectoryIndex index.html index.php
This gives preference to a static index, if it exists. You can only use
index.php if you want.
Hope that helps.
Chris
--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/
Navigation:
[Reply to this message]
|