Score:0

Error 500 on files following a name pattern

us flag

A week ago, some images in my website home page started returning a 500 error. More concretely, every image in the /img/cms/ folder whose name starts with an x results in a 500 error only when requested from a browser (tested with several browsers in different OSs). Files are accesible with wget and ftp. Permissions are 0644 which looks right.

Every other file in that folder can be accessed with no problems. It is a prestashop site (so Apache with PHP7), although I don't think the error is prestashop-related.

I looked into .httaccess file, but nothing looks fishy --and modification date is long before the problem appeared.

I have no idea what can be creating this problem. The x prefix makes me think this is some kind of rewriting/rule, but it is not in .httaccess. Also, if I asked for an unexisting file (e.g. /img/cms/xInvented.jpg) it correctly detects the 404 and does the right action.

Any hints? Files that I should take a look at, or server configs to review are welcomed.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.