From: "William A. Rowe, Jr." <[EMAIL PROTECTED]>
Sent: Monday, October 01, 2001 1:03 PM


> From: "Greg Ames" <[EMAIL PROTECTED]>
> Sent: Monday, October 01, 2001 11:59 AM
> 
> > 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.

Better yet...

DirectoryIndex index.html

index.html.cgi
index.html.ssi

where cgi is set via AddHandler, ssi is set via AddFilter.

That is a really good demonstration.  Neither .cgi nor .ssi offers any
hint to mod_negotiation of what it aught to do.

The smaller file wins, whether that makes a bit of sense, or not.

Bill

Reply via email to