httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From olivier Thereaux ...@w3.org>
Subject [PATCH] mod_speling
Date Tue, 30 May 2006 23:30:21 GMT
Hello,

This is a followup to a (very) old thread about mod_speling on the  
httpd-dev list:
http://mail-archives.apache.org/mod_mbox/httpd-dev/200003.mbox/% 
3c20000303122823.E8010@w3.org%3e

On Fri, Mar 03, 2000, Hugo Haas wrote:
> On Fri, Mar 03, 2000, Martin Kraemer wrote:
>> On Thu, Mar 02, 2000 at 04:22:36PM -0500, Bruce R Miller wrote:
> [..]
>
>>> Our thought was to add an option, (CheckSpelling CaseOnly, instead
>>> of CheckSpelling on, or ...) that would have it automatically
>>> redirect _only_ if it were a case correction
>
>> Yes, the proposal to even restrict the functionality to case
>> correction ONLY has been suggested a while ago. I would welcome this,
>> too, because mod_speling can be misused to "poke around" and look
>> what other file are there
>
> I coded that some time ago. I will send you the patch as soon as I  
> find it. :-)

It appears that patch was never sent to the apache developers'  
community, but we have actually been using it on the W3C Web site for  
many years, where it has allowed us to enable mod_speling for user  
convenience, without creating too huge a volume of phantom URIs.

I have recently dug up the patch, and adapted it for each major  
version of the apache httpd server (based on the sources for the  
1.3.6, 2.0.58 and 2.2.2 releases). The three patch files are attached  
to this mail.

Would it be possible to have these applied to the code tree? If so, I  
guess there would be documentation changes, as well, and I would be  
more than happy to help with those, too.

Kind regards,
olivier.
-- 
olivier Thereaux - W3C - http://www.w3.org/People/olivier/
W3C Open Source Software: http://www.w3.org/Status



Mime
View raw message