[mapserver-users] defining fallback source in WMS client definition

Eichner, Andreas - SID Andreas.Eichner at sid.sachsen.de
Mon Mar 30 01:45:09 PDT 2020


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:mapserver-users-bounces at lists.osgeo.org] Im Auftrag von Lars Fricke
Gesendet: Montag, 30. März 2020 09:12
An: mapserver-users at lists.osgeo.org
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




More information about the mapserver-users mailing list