skip to Main Content

I have a web server with Apache that I use to show images.
You can access those images directly through a URL, ex: image.com/ad.png.
This works for 106 of our images but not for the last 4.
The ones who aren’t working are in the red rectangle

This is the error message I get

Server: Ubuntu 22.04.3
Apache: 2.4.52

I’ve restarted the server and Apache service, but that didn’t help.
And I haven’t found anything via Google that could be the solution.

The image should be displayed.

2

Answers


  1. Chosen as BEST ANSWER

    After many different attempts nothing worked except to install a fresh new Ubunto server and that solved the issue


  2. Please do check the following, it might work:

    1. Make sure that the image file names have the correct extensions (like .png, .jpg,
      .jpeg, etc.). Also, ensure that the case of the file names matches exactly, as
      Unix-based systems are case-sensitive
    2. Ensure that the file paths for the images are correct. Also, check the
      permissions
      on the files themselves to ensure they are readable by the web server process.
    3. Verify image files for corruption.
    4. Review configuration for restrictions or issues & clear cache.
    5. Check status codes using browser tools or command-line & Examine Apache logs for
      relevant error messages.
    6. Test on multiple browsers + Check on various devices and networks.
    7. Ensure correct headers match image format and try Resized images or convert
      images if needed.

    #Apache-Age

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search