Hallo Lars,

since you're on Ubuntu you're likely running MapServer in combination with an 
Apache HTTPd. So one option is to use an URL on localhost in your MapFile and 
let your webserver fordward it via mod_proxy using a fail over configuration.

HTH 

-----Ursprüngliche Nachricht-----
Von: mapserver-users [mailto:[email protected]] Im 
Auftrag von Lars Fricke
Gesendet: Montag, 30. März 2020 09:12
An: [email protected]
Betreff: [mapserver-users] defining fallback source in WMS client definition

Dear all,

We use Mapserver 7.4.3 on Ubuntu. We use it as WMS client to collect several 
WMS into one place, serving them to our application. 
The task now is to define a fallback for one of the WMS source servers. That 
means: 

Mapserver will have two technically identical sources for the same output 
layer, only the URL is different. Is there a way to define (in mapfile 
preferably) that one source is only used if the other fails (is offline)? I 
thought of layer groups but then I will have a duplicate call if both sources 
are available. I do know this would be a better task for a load balancer or 
proxy but we do not have that option at this time.

Thank you for your time and thoughts.

Best

Lars


Lars Fricke
Forschung & Entwicklung


+49(0)39602-183097
+49(0)39602-183098


SkenData GmbH
Mühlendamm 8B
18055 Rostock
www.skendata.de



Wert14



www.wert14.de


Geschäftsführer: Jon Meis und Sven Jantzen
Amtsgericht Rostock HRB 12937


_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to