Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So in browser i request a file that i know it exists


but it gives me a 404 error and in log says that it couldn't find file named 3a1c2aa4d488ae4d. For some reason it cuts the part of the filename after ? and tries to open that file instead.

I would understand the problem in windows but this is Centos.

Any ideas how to fix it?

share|improve this question
up vote 6 down vote accepted

The ? will be considered as parameters, as the request will be considered as HTML query string. You need to encode the special symbols so that they are treated as characters and not command parts.

Better yet, use sensible file names.

share|improve this answer

Your Answer


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.