httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Stoddard <b...@wstoddard.com>
Subject Re: [PATCH] <Location > block speed up
Date Fri, 16 Jan 2004 20:48:32 GMT
gregames@apache.org wrote:

> Bill Stoddard wrote:
> 
>> WHat happens if the handler DECLINES the request 
> 
> 
> My guess is that the default handler will be called, try to open a 
> non-existant file and send back a 404.  I'll find out.
> 
Make sure file 'silly' exists in documentroot and make sure it has access protections coded
in a Directory </> 
container :-)

>> and do we care?
> 
> 
> If it seg faults, violates protocol or something similar, I care.  Other 
> than that I don't think so.
> 
> mod_status and mod_info both are enabled via <Location > containers.  
> mod_status never DECLINEs if it is the handler.  mod_info DECLINEs if 
> the method isn't GET.  Let me see what happens if I send mod_info some 
> other method.

My not so well formed thoughts are that if a module claims it should handle a request based
on a SetHandler 
directive in a Location directive, the server should not allow that handler to DECLINE the
request. Putting it 
another way, if the handler claims the request then DECLINEs, the server should prevent other
handlers from 
attempting to serve the request.

Bill


Mime
View raw message