2 replies [Last post]
Katie
Katie's picture
Offline
Enthusiast
Seattle, WA
Last seen: 7 years 14 weeks ago
Seattle, WA
Timezone: GMT-8
Joined: 2006-08-06
Posts: 357
Points: 2

I'm trying to get an Apache web server to do case-insensitive URLs. I had the sys admin enable mod_speling, and I set CheckSpelling and CheckCaseOnly to on in my .htaccess file. Unfortunately, that only corrects for case in the directories, not with the filename itself. For example, this is the correct URL:

http://www.domain.com/findPartner/certifiedPartners.php

With the changes I've described above, this URL works:

http://www.domain.com/findpartner/certifiedPartners.php

but this one does not:

http://www.domain.com/findPartner/certifiedpartners.php

Is there something else I'm doing wrong? It seems that everyone thinks that mod_speling will do the whole job, but it's just not working for me.

Thanks!

Blog: Pew Pew Laser Blog
Online File Storage: DropBox
Daily Deals on Local Activities: Groupon

Tags:
gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 49 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Totally a SWAG, unset

Totally a SWAG, unset CheckCaseOnly. From the Apache manual, "When set, this directive limits the action of the spelling correction to lower/upper case changes. Other potential corrections are not performed." Might there be a conflict?

Other than that, I got nuthin'.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

Katie
Katie's picture
Offline
Enthusiast
Seattle, WA
Last seen: 7 years 14 weeks ago
Seattle, WA
Timezone: GMT-8
Joined: 2006-08-06
Posts: 357
Points: 2

Alas, removing the

Alas, removing the CheckCaseOnly directive didn't help - I got the same behavior as before. Good thought, though. Smile

Blog: Pew Pew Laser Blog
Online File Storage: DropBox
Daily Deals on Local Activities: Groupon