Search…

X3 Photo Gallery Support Forums

Search…
 
pleibling
Experienced
Topic Author
Posts: 45
Joined: 02 Jan 2017, 09:59

Error after Moving to an other Server

18 Nov 2018, 13:16

Hi, i got a problem after moving my Gallery to a new Server - this is hosted on Server 2012 R2 with IIS.

This Server has the same settings like the Server before, but wenn i open an Image in the protected Area, i get an Error to load the Image.

The Disgnostic Page looks good an show no error: https://galerie.leibling.de/public/?diagnostics
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Error after Moving to an other Server

18 Nov 2018, 21:03

I am getting error when loading some of your images, also directly in browser:
galerie.leibling.de/content/3.private/17.2017/02.Februar-2017/01.170219-Halbmarathon/IMG_0110.JPG
500 - Interner Serverfehler.
Problem bei der gesuchten Ressource. Sie kann nicht angezeigt werden.
Image

The issue is not related to "protected area", because the protect is application-only (PHP, X3 pages), and does not affect direct file access. Something server related.
 
pleibling
Experienced
Topic Author
Posts: 45
Joined: 02 Jan 2017, 09:59

Re: Error after Moving to an other Server

19 Nov 2018, 01:21

Okay, i will take a look. But the Files are there. Maybe a Problem with UrlRewrite (cause Previews are generated - so they must find the files).

Thanks.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Error after Moving to an other Server

19 Nov 2018, 02:44

pleibling wrote:Maybe a Problem with UrlRewrite (cause Previews are generated - so they must find the files).
Yes you are right. The files definitely exist. If you try to load an image that does NOT exist, you will probably see a different error anyway.

It does look like some kinda rewrite issue. This being a IIS server, there are rules in the X3 web.config file, although you may have rules set from elsewhere or global server rules also. You can try to disable the X3 web.config file and then load the image, but I don't think it is that ...

X3's web.config:
https://gist.github.com/mjau-mjau/87ad6 ... 131174b52a