Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a client whose web application was written entirely in a Windows environment and served from windows. Unfortunately there's way to many cases of get file/At/Somelocation.php where the file is actually something horrible like File/at/SomeLocation.PHP.

I really don't want to be forced to work in Windows, but it will take weeks if not longer to fix all the casing issues. Am I out of luck here?

Edit: The casing issues are well known in the project, but since it's only an issue for developers using Linux (me) it's not a big enough priority that needs fixing in the near term.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

I just did a simple test with a FAT32 USB drive.

Which seems to behave the way you want. What i did:

  1. I created a folder called test
  2. ls test (works)
  3. ls TeSt (works)

Same goes for a file. So if you was to run your files etc on a FAT32 partition it should work. Don't pin me down on this but it'll be worth trying.

Edit: If i were you i would still resort to rectifying his code. Using FAT32 or any other solution is still far from optimal. Oh and you should point this case sensitivity problem out to the original programmer if you can. It's always something to keep in mind when programming.

share|improve this answer
    
i don't see why this wouldn't work, but then you're limited to using FAT32 on any other systems this is deployed on. probably better to fix the sourcecode once than to have to include a detailed explanation of how to configure Apache or install on a FAT loopback drive. –  quack quixote Apr 12 '10 at 10:49
    
The only problem with that is that FAT32 doesn't support access rights. –  petersohn Apr 12 '10 at 10:52
    
yep, using FAT32 within *nix is not really considered as "best practice" and like petersohn said it doesn't support access rights. Like my edit says: Better fix that code than trying to fix things the lazy way :p –  S.Hoekstra Apr 12 '10 at 10:56
2  
Using FAT32 gets you working and gives you time to fix the issue. –  mpez0 Apr 12 '10 at 12:32
    
@mpez0 Exactly my thoughts as well –  David Apr 12 '10 at 19:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.