Hello all,

I have noticed a different behaviour in MapServer 8 in comparision to MapServer 7.

In the Web-Section I use a global header and footer and I created an empty.html page. The definition in the Web-Section looks like:

WEB
   HEADER './templates/header.html'
   FOOTER './templates/footer.html'
   EMPTY 'http://myserver/ms_empty.html'

Before Version 8
- MapServer would show the EMPTY-html if no result comes back from a Featureinfo-Request

But with MapServer 8
- The Header & Footer are given back - with no results in the middle

When I define everything in the LAYER the behaviour is a bit better - I get back an empty result but still not the content of the EMPTY-File
    HEADER "./templates/header.html"
    TEMPLATE "./templates/plz.html"
    FOOTER "./templates/footer.html"

My question: How can I get back the old behaviour and only get back the content of the Empty-file?

Did the definition change?
Or is it a bug? Does someone else noticed the behaviour?

I checked the actual issues, but I could not find anything about it

https://github.com/MapServer/MapServer/issues/6907


Documentation see
https://mapserver.org/mapfile/web.html

--
Best regards

Astrid Emde
GIS-Consultant

**********************************
Where2B Konferenz 2023
14. Dezember 2023 in Bonn und Online
https://where2b-conference.com/
**********************************

  Astrid Emde
  WhereGroup GmbH
  Eifelstraße 7
  53119 Bonn
  Germany

  Tel: +49(0)228 90 90 38 - 22
  Fax: +49(0)228 90 90 38 - 11

  [email protected]
  www.wheregroup.com

  Meinen PGP Public-Key können Sie unter pgp.mit.edu herunterladen:
https://keys.openpgp.org/vks/v1/by-fingerprint/01F8152D36FC07C25EADDE86C5084ACC1C287CCB
  Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen

  Folgen Sie der WhereGroup auf twitter:
  http://twitter.com/WhereGroup_com

  Geschäftsführer:
  Olaf Knopp, Peter Stamm
  Amtsgericht Bonn, HRB 9885
-------------------------------

Attachment: 0x1C287CCB.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to