"Luis Miguel N. Tavora" wrote:

> But then, the apache server (for example) requires a file
> index.html to be placed in the directory public_html/ ...

    The Apache server only requires what you tell it to require.
    Edit your httpd.conf file and look for:

 DirectoryIndex index.html

    ...and change it to whatever you want it to look for (in order).
    For example, one of my webservers has this in it:

 DirectoryIndex index.shtml index.html index.htm index.php index.cgi

    So Apache will now look for each one of those files in that order.  If
someone has both an index.html and an index.php in their webspace, the .html
will be served since it comes first in the list.

--
W | I haven't lost my mind; it's backed up on tape somewhere.
  +--------------------------------------------------------------------
  Ashley M. Kirchner <mailto:[EMAIL PROTECTED]>   .   303.442.6410 x130
  IT Director / SysAdmin / WebSmith             .     800.441.3873 x130
  Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave. #6
  http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.




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

Reply via email to