You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Matt Mitchell <mm...@virtualproperties.com> on 2005/03/08 21:30:45 UTC

[PATCH] only allow mod_speling to correct capitalization

All,

We had a need here for mod_speling's case-correcting functionality but 
we have generated filenames with very similar names so we were 
constantly running afoul of its willingness to substitute the "wrong" 
file when the correct one did not exist.  I made a simple addition to 
mod_speling to restrict it to case comparisons only, and added a 
configuration flag "CheckCaseOnly" to enable or disable it.  The default 
behavior is as before.

Doc XML update is also included in the patch, against 2.0.53.

Sent here in the hopes that it might get picked up or at least be useful 
to people who are in the same boat we are.

-m


Re: [PATCH] only allow mod_speling to correct capitalization

Posted by Bill Stoddard <bi...@wstoddard.com>.
Matt Mitchell wrote:
> All,
> 
> We had a need here for mod_speling's case-correcting functionality but 
> we have generated filenames with very similar names so we were 
> constantly running afoul of its willingness to substitute the "wrong" 
> file when the correct one did not exist.  I made a simple addition to 
> mod_speling to restrict it to case comparisons only, and added a 
> configuration flag "CheckCaseOnly" to enable or disable it.  The default 
> behavior is as before.
> 
> Doc XML update is also included in the patch, against 2.0.53.
> 
> Sent here in the hopes that it might get picked up or at least be useful 
> to people who are in the same boat we are.
> 
> -m

+1


Bill