You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by olivier Thereaux <ot...@w3.org> on 2006/05/31 01:30:21 UTC

[PATCH] mod_speling

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



Re: [PATCH] mod_speling

Posted by Wilfredo Sánchez Vega <ws...@apache.org>.
   Committed to trunk.

	-wsv


On Jun 14, 2006, at 12:27 AM, olivier Thereaux wrote:

>
> On 9 Jun 2006, at 02:21, Wilfredo Sánchez Vega wrote:
>
>>   This looks fine, but can you add a patch to the docs?  The  
>> feature isn't useful if nobody knows it's there.
>
> Sure. The patch is attached in this mail, but if I understand  
> correctly, it should rather be sent to docs@httpd ?
> How about translations? Is there any process to ensure that the  
> localized versions will remain up to date? Or should I take care of  
> that, too?
>
> Thanks,
> -- 
> olivier
>
> <patch_docs_mod_speling.patch>


Re: [PATCH] mod_speling

Posted by olivier Thereaux <ot...@w3.org>.
On 9 Jun 2006, at 02:21, Wilfredo Sánchez Vega wrote:

>   This looks fine, but can you add a patch to the docs?  The  
> feature isn't useful if nobody knows it's there.

Sure. The patch is attached in this mail, but if I understand  
correctly, it should rather be sent to docs@httpd ?
How about translations? Is there any process to ensure that the  
localized versions will remain up to date? Or should I take care of  
that, too?

Thanks,
-- 
olivier


Re: [PATCH] mod_speling

Posted by Wilfredo Sánchez Vega <ws...@wsanchez.net>.
   This looks fine, but can you add a patch to the docs?  The feature  
isn't useful if nobody knows it's there.

	Thanks,
	-wsv


On May 30, 2006, at 4:30 PM, olivier Thereaux wrote:

> 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
>
>
> <mod_speling_1_3_36.patch>
> <mod_speling_2_0_58.patch>
> <mod_speling_2_2_2.patch>
>