Forum Moderators: bakedjake

Message Too Old, No Replies

how to disable case sensitive nature in Linux

i wanted to shift my website from windows to Linux but

         

kartiksh

3:47 pm on Jul 30, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



i wanted to shift my website from windows to Linux but i am scared that will through so many errors of due to case sensitive file name recognition of Linux hosting. Is there a host or way where we can disable this feature in Linux?

sja65

3:58 pm on Jul 30, 2005 (gmt 0)

10+ Year Member



If you are using apache, use mod_spelling. This will correct for capitalization problems.

kartiksh

6:39 am on Aug 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



thanks.

kartiksh

6:57 am on Aug 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



But some one suggested me on another forum that to make hosting accounts interpret SomeFile.htm as somefile.htm is not possible in Linux hosting. How true is this?

mcavic

7:38 am on Aug 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I never tried it, but you might have to change all of the files to all lower case, then tell Apache to change all of the requests to all lower case.

There isn't a way to tell linux to ignore the case. But you can tell Apache to alter the requests.

kartiksh

2:07 pm on Aug 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



thanks mcavic

this is what exactly i personally posted at WHT after i got the previous reply.

But many thanks though.;-)

sja65

2:42 pm on Aug 1, 2005 (gmt 0)

10+ Year Member



With mod_spelling, if you type in Index.html, index.htm, iNDex.htm, or any other variation and there is no exact match, mod_spelling will find the close match - It tries to fix capitalization problems, extension problems, transposition problems and general spelling problems.

erikcw

8:21 pm on Aug 7, 2005 (gmt 0)

10+ Year Member



You could also try using mod_rewrite and a regular expression to rewrite urls to the propper case.