Luke M. said:
> Find the DIRECTORYINDEX attribute in httpd.conf and add 'index.php' to > the list: > > DIRECTORYINDEX index.html index.php index.wml homepage.html > index.shtml > homepage.shtml index.cgi homepage.cgi index.htm \ Index.html > Homepage.html Index.shtml Homepage.shtml Index.cgi Homepage.cgi > Index.htm Another thing to note... the closer to the beginning of the "DirectoryIndex" directive, the higher the precedence it takes. What that means is, a single directory can have any one of the above files in it... the one that Apache will use *first* when accessing the directory name is the one that it *matches* in the directoryindex list *first*. So, if for example, you have four files from the above mentioned list (homepage.shtml, index.shtml, index.cgi, and index.php).. the one it'll use first when deciding which one to run when just the "directory" is accessed would be "index.php" because it's the second entry of the list (above) and the first entry (index.html) doesn't exist in the directory. -- __ _ Tyler Nally / /__ ____ _(_)___ ____ ____ _________ _ [EMAIL PROTECTED] / / _ \/ __ `/ / __ \/ __ \ / __ \/ ___/ __ `/ 317-860-3016 / / __/ /_/ / / /_/ / / / // /_/ / / / /_/ / American Legion Website /_/\___/\__, /_/\____/_/ /_(_)____/_/ \__, / http://www.legion.org /____/ /____/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]