httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [users@httpd] make URL's case insensitive
Date Thu, 20 Oct 2005 16:33:08 GMT
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?


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