[MapServer-users] MapServer WEB global footer header are shown as result even if no feature was effected
Astrid Emde (WhereGroup)
astrid.emde at wheregroup.com
Mon Nov 6 07:39:01 PST 2023
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
astrid.emde at wheregroup.com
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
-------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x1C287CCB.asc
Type: application/pgp-keys
Size: 1574 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20231106/fd449b1f/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20231106/fd449b1f/attachment.sig>
More information about the MapServer-users
mailing list