httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <grega...@remulak.net>
Subject Re: .asis handler isn't driven
Date Mon, 01 Oct 2001 16:59:44 GMT
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

Mime
View raw message