Forum Moderators: phranque

Message Too Old, No Replies

Problem with filename in uppercase

Getting not found error with apache webserver

         

manansaxena

7:24 am on Nov 26, 2010 (gmt 0)

10+ Year Member



I am running Apache webserver 2.2 on linux server.
There is a file hosted on the server at some location with name of ‘Data_value_for_abc_on_UATPROD.msg’ which gives a ‘page not found error’.
There is another file at the same location with the name of ‘Data_value_for_abc_on_uatprod.msg’ which works fine.
The only difference between the two files is 'UATPROD' being in uppercase in first and lowercase in second.
I have seen the same with other files too, whenever the name is fully in capitals, webserver gives a page not found error.
Please help!
I have tried changes in IndexIgnore but the problem still persists.

topr8

12:52 pm on Nov 26, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



unlike windows on linux upper and lower case letters in filenames mean completely different files!

manansaxena

3:41 pm on Nov 26, 2010 (gmt 0)

10+ Year Member



i understand that....but i don't think you are getting my problem.....my problem is whenever i try to download a file via my web server it gives a file not found error when the name of the file is in upper case! and if i rename that same file and put everything in lowercase, i can download it just fine!

jdMorgan

8:29 pm on Dec 1, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Please clarify:

What is the exact working filename on the server (as seen using FTP)?
What is the exact URL that works to access it successfully in the browser?

What is the exact non-working filename on the server (as seen using FTP)?
What is the exact URL that you are trying to load it with in the browser when this fails?

The only things I can think of is that one or more of MultiViews (content-negotiation), mod_speling, or AcceptPathInfo is getting invoked, and is making your test results look screwy. But the above-requested Filename and URL information should make this clearer.

Jim