Click on thumbnails get 406 error

Hi, I moved a Zenphoto gallery to a new server and ran through the setup process. Everything cam out except for clicking on the thumbnails and showing a larger one. Every thumbnail I click goes to a 406 error page with a message like this below. I notice the file path it shows should actually be /antiques-photo-gallery/album/new-album/img_5725.jpg with the album folder added and I'm not sure why its shows the jpg image with .php on the end. Any ideas whats going on with this or how to fix it.
Thanks

Not Acceptable
An appropriate representation of the requested resource /antiques-photo-gallery/new-album/img_5725.jpg.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Comments

  • Change the `mod_rewrite suffix` option to something else. Apparently your server will not allow things which it "thinks" are images to have a ".php" suffix.

    I would suggest setting it to "/view" or simply empty.
  • That worked, thanks!
Sign In or Register to comment.