case sensitive

twister

Howdy
Can i turn on 'case sensitive' in my personal copy of 10.2 apache?

I'll be uploading to a UNIX server but i want to test everything out first on my machine and i'm not sure if everything is the correct case.

Twister
 
Do you mean so that /index.htm is not the same as /INDEX.HTM? I think this is a limitation of HFS+ itself, so I've heard, and there might not be a way around this... Hopefully I'm wrong. :)
 
I put in an index.html and an image called grimmy.gif in my 'sites' folder and then went to 127.0.0.1/~user/index.html

In the code i called the image GRIMMY.gif and it still worked.

Twister :confused:
 
Oh crap, you're right. Never even tried that. But in the shell, it is in fact case-sensitive. Sorry about that. I fscking hate this case-insensitivity crap.
 
(hazmat, even operations involving the shell are not case sensitive. That's all handled by the filesystem, not any process above it.)

HFS+ is case-insensitive and case-preserving. While this is a feature rather than a bug, there's no way to change this behaviour.

Your only option would be to use UFS, which would involve creating a new filesystem. And remember that many classic/carbon things are unhappy with UFS for various reasons, so you'll want separate partitions and filesystems for your general system and for your web content.
 
Originally posted by onan
(hazmat, even operations involving the shell are not case sensitive. That's all handled by the filesystem, not any process above it.)

HFS+ is case-insensitive and case-preserving. While this is a feature rather than a bug, there's no way to change this behaviour.
content.

So it's because of the case-preservation that the shell works as if it were case-sensitive? I think that's almost worse that one or the other, you know? I think that was my problem when some perl module "updated" `head` and was messing up the daily script.
 
Back
Top