dogbert@xxxxxxxxxxxxx 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: www.foobar.com/JUNKFOOD.htm (client browser) would be processed by httpd as: www.foobar.com/junkfood.htm (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?
Use mod_speling --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx