• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Invalid Index with images

R

rewilson

Guest
I have a website on my server that gives an error message of Invalid Index when serving gif's and jpg's. These images are not corrupt. Has anyone ever seen this before. I'm pulling my hair out trying to figure this one out.
 
I am also having the same problem. Have you found a reason why it does this?
Or how to fix it?
 
I had the same problem with a my customer.

Pleask have a feature called "hotlink protection" that is disabled by default.

By default is configured to deny all these file extensions:
bmp dib rle emf wmf gif jpg jpeg jpe jif jfif pcx png tga tiff tif

If you enable this feature you will have "Invalid index." and 500 internal server error response for every request for these file extensions.

So the solution is Disable the feature from plesk -> domain -> Hotlink protection"
 
Back
Top