httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Kugler <>
Subject Re: [users@httpd] make URL's case insensitive
Date Thu, 20 Oct 2005 16:41:16 GMT
On Thursday 20 October 2005 08:33, wrote:
> Hi All,
>    I run apache 2.0.5x, and was wondering if there is a way to make URL's
> (after the domain portion) case insensitive in apache (all URL's), for
> example:
> (client browser)
> would be processed by httpd as:
> (server side)
> In reading the apache FAQ in 1.3, it says the following:
> You can't! The reasons are: first, that, case translations for arbitrary
> length URLs cannot be done via regex patterns and corresponding
> substitutions. One needs a per-character pattern like the sed/Perl
> tr|..|..| feature. Second, just making URLs always upper or lower case does
> not solve the whole problem of case-INSENSITIVE URLs, because URLs actually
> have to be rewritten to the correct case-variant for the file residing on
> the filesystem in order to allow Apache to access the file. And the Unix
> filesystem is always case-SENSITIVE.
> But there is a module named mod_speling.c in the Apache distribution. Try
> this module to help correct people who use mis-cased URLs.
> Barring this, can mod_speling be set to not provide a list of files that
> are a 'close match' providing that the exact match is not found?

What about creating a 404 cgi error document that will present the user with a 
message saying "Did you mean"  That way, they 
will find the file, and be reminded about the spelling for the next time.

j----- k-----

Joshua Kugler
CDE System Administrator

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message