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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to