Case Sensitive Files

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?


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