Guten Morgen, ich habe ein Problem mit meinem Apache2 (v2.4.25) in einer Reverse-Proxy Konfiguration. Es kommt aufgrund von Wartungsarbeiten desöfteren vor, dass ein Backend-Server nicht erreichbar ist. In diesem Falle wird ein benutzerdefiniertes 503-Error Dokument eingeblendet.
Leider kommt es dann zu dem Problem, dass das Dokument den Endanwendern weiterhin angezeigt wird, obwohl der Backend-Server schon lange wieder läuft. Meine Konfiguration sieht aus wie folgt: [...] ProxyRequests Off ProxyPreserveHost On SSLProxyEngine On # HSTS Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains" ProxyPass /proxy-error/ http://127.0.0.1:81/proxy-error/ ProxyPassReverse /proxy-error/ http://127.0.0.1:81/proxy-error/ ErrorDocument 503 /proxy-error/503-index.html ProxyPass /shop http://X.X.X.X/shop ProxyPassReverse /shop http://X.X.X.X/shop ProxyPass /kba http://X.X.X.X/kba ProxyPassReverse /kba http://X.X.X.X/kba Redirect / /shop [...] Aufrufe via HTTP werden direkt auf die HTTPS-Seite umgeleitet. [...] RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^/(.*) https://www.XXX.XX/shop/ [R] [...] Der Header stammt aus unserer Entwicklungsabteilung und sieht wie folgt aus: [...] <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="cache-control" content="max-age=0" /> <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="expires" content="0" /> <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" /> <meta http-equiv="pragma" content="no-cache" /> ... </head> [...] Ich habe in der Apache-Konfiguration auch schon "retry=0" hinter ProxyPass gesetzt, leider besteht das Problem weiterhin. Gruß --------------------------------------------------------------------- To unsubscribe, e-mail: users-de-unsubscr...@httpd.apache.org For additional commands, e-mail: users-de-h...@httpd.apache.org