www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Edmundsson <ni...@ing.umu.se>
Subject Re: mod_speling/4677: Patch: Only correct spelling if no Referer
Date Fri, 08 Oct 1999 23:49:13 GMT

Attached is a patch for mod_speling.c in apache 1.3.6 and 1.3.9 that
introduces a config-option to only check the spelling of an URL when
there is no Referer-header, ie only when the user has entered the URL
manually.

This makes it possible to have mod_speling enabled on a
production-server without having users that have pages with misspelled
URL's causing the server to fix the spelling very often (which can be
very annoying if you have your users' home-directories mounted via
nfs).

It introduces the option CheckSpellingWithReferer (which defaults to
on for no change in the default behaviour) which, when set to off,
disables the check when there is no Referer-header.

We have used this patch on our production-server running Apache 1.3.6
for a while now, it works for us :-)

All credits for this patch should go to Magnus Jonsson
<bigfoot@acc.umu.se>.


With hopes of getting this included in the main Apache distribution.

/Nikke - SysAdmin at the Academic Computer Club, UmeƄ University, Sweden
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Niklas Edmundsson, Admin @ {acc,hpc2n,ing}.umu.se    |   nikke@ing.umu.se
---------------------------------------------------------------------------
 Printers do it without wrinkling the sheets.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Mime
View raw message