Case Sensitive Files

Case Sensitive Files

Posted by: Shaun
Posted on: 2005-08-27 14:23:00

I have noticed that if I type in the name of a file, or even it's extention wrong in either in the address bar of my browser or in a url on a page, without the exact case the file is saved in, it will fail to load.

For example, my digital camera tends to save all photos as "photo.JPG"

If I try to place that photo on my website, but link it as "photo.jpg", I (and everyone else) gets a red X.

How can I make it so that it isn't case sensitive?


Thanks,
Shaun

Re: Case Sensitive Files

Posted by: ardco
Posted on: 2005-08-27 15:25:00

https://panel.dreamhost.com/kbase/index.cgi?area=1153

Sorry, unix is case sensitive. You can see the user comments in kbase above for mod_rewrite method, and search kbase for: case sensitive
for a few other related tips.

Good luck,

BobS

Re: Case Sensitive Files

Posted by: dtobias
Posted on: 2005-08-28 17:57:00

It's always been like that for Unix/Linux web servers; you just have to be careful in naming your files. Usually all-lowercase is best, and avoid spaces or punctuation in filenames because that can make problems with URLs.

-- Dan

Tags: case sensitiveaddress barsensitive filessavedbrowserurlphotos