406 Not Acceptable because of file name?

Newbie Member
14Jul2007,05:02   #1
pu132's Avatar
Okay, so I've tried this on two different servers (on the same host, though). Both use Apache 1.3.34 on Linux with cPanel. First off, I know the name is bad anyway, but I am curious to know the problem here.

I have an image named "CP BBall Seal.jpg" on the server. Every time I try to access the file I get a 406, using Firefox, IE, and PHP readfile. When I rename the file to "BP BBall Seal.jpg" or "DP BBall Seal.jpg" it works as it should. I also get a 406 if I name the file "CP test.jpg".

Is there something special about files that start with "CP " in Apache? Or is there some weird setting my host put on the server? Thanks.
Team Leader
14Jul2007,10:49   #2
pradeep's Avatar
cp in *nix system is a command, i.e. copy command. That may be a problem, I am not sure though try renaming your file to "MV BBall Seal.jpg". mv is also a command.
Newbie Member
15Jul2007,00:19   #3
pu132's Avatar
Interesting idea. But "MV " works just fine.
Team Leader
16Jul2007,10:09   #4
pradeep's Avatar
Hmmm...I tried googling it but didn't find any clue!