406 Not Acceptable because of file name?

pu132's Avatar
Newbie Member
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.
0
pradeep's Avatar, Join Date: Apr 2005
Team Leader
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.
0
pu132's Avatar
Newbie Member
Interesting idea. But "MV " works just fine.
0
pradeep's Avatar, Join Date: Apr 2005
Team Leader
Hmmm...I tried googling it but didn't find any clue!