Greg Ames wrote: > > "William A. Rowe, Jr." wrote: > > > We still have no mechanism to 'quantify' the quality of one handler or > > filter over another. Funny that > > > > index.html 4000 bytes > > index.cgi 500 bytes > > > > will serve index.cgi, based on size, when the cpu impact of index.html is > > _significantly_ less expensive ;) > > > > I don't know what to say about this situation when the URI is "index" or > /. My gut says this is just ambiguous and is a user error. Picking one > based on size seems pretty arbitrary.
Actually, for the / situation, it looks like mod_dir will pick the first match. daedalus has "DirectoryIndex index.html index.cgi" coded. It runs a subrequest for index.html first; if that works, we redirect to index.html and don't bother with index.cgi. Greg
