Linux Today: Linux News On Internet Time.

Linux.com: Making Apache Case Insensitive Using Samba

Feb 07, 2001, 22:15 (4 Talkback[s])
(Other stories by Marc Perkel)

"Here's a trick I finally got to work: a way to make Apache requests case insensitive on Linux/Unix servers and work as well as Windows NT servers."

"The problems started when I was migrating from NT to Linux. As you know, NT is case insensitive, so anything matched. Thus a request to http://domain.com/INDEX.HTML and http://domain.com/index.html were the same. However upon moving to Linux, the request for INDEX.HTML produced a 404 error, not found."

"I changed all my files and references to lower case, but that didn't solve everything. There were still external Web sites that linked to me that were in the wrong case. At first I came up with rules to convert all requests to lower case, but now I have a better solution."

Complete Story

Related Stories: