<div dir="ltr">Hi Astrid: I noticed this too but in a slightly different way. It's a bug, see the discussion here:<div><br><p class="gmail-MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">  <a href="https://github.com/MapServer/MapServer/issues/6907" style="color:rgb(5,99,193)">https://github.com/MapServer/MapServer/issues/6907</a></p><p class="gmail-MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif"><br></p><p class="gmail-MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">Basically the EMPTY keyword is being ignored. This will be fixed in 8.2...</p><p class="gmail-MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif"><br></p><p class="gmail-MsoPlainText" style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">--Steve</p></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 6, 2023 at 9:39 AM Astrid Emde (WhereGroup) via MapServer-users <<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello all,<br>
<br>
I have noticed a different behaviour in MapServer 8 in comparision to <br>
MapServer 7.<br>
<br>
In the Web-Section I use a global header and footer and I created an <br>
empty.html page. The definition in the Web-Section looks like:<br>
<br>
WEB<br>
    HEADER './templates/header.html'<br>
    FOOTER './templates/footer.html'<br>
    EMPTY '<a href="http://myserver/ms_empty.html" rel="noreferrer" target="_blank">http://myserver/ms_empty.html</a>'<br>
<br>
Before Version 8<br>
- MapServer would show the EMPTY-html if no result comes back from a <br>
Featureinfo-Request<br>
<br>
But with MapServer 8<br>
- The Header & Footer are given back - with no results in the middle<br>
<br>
When I define everything in the LAYER the behaviour is a bit better - I <br>
get back an empty result but still not the content of the EMPTY-File<br>
     HEADER "./templates/header.html"<br>
     TEMPLATE "./templates/plz.html"<br>
     FOOTER "./templates/footer.html"<br>
<br>
My question: How can I get back the old behaviour and only get back the <br>
content of the Empty-file?<br>
<br>
Did the definition change?<br>
Or is it a bug? Does someone else noticed the behaviour?<br>
<br>
I checked the actual issues, but I could not find anything about it<br>
<br>
<a href="https://github.com/MapServer/MapServer/issues/6907" rel="noreferrer" target="_blank">https://github.com/MapServer/MapServer/issues/6907</a><br>
<br>
<br>
Documentation see<br>
<a href="https://mapserver.org/mapfile/web.html" rel="noreferrer" target="_blank">https://mapserver.org/mapfile/web.html</a><br>
<br>
-- <br>
Best regards<br>
<br>
Astrid Emde<br>
GIS-Consultant<br>
<br>
**********************************<br>
Where2B Konferenz 2023<br>
14. Dezember 2023 in Bonn und Online<br>
<a href="https://where2b-conference.com/" rel="noreferrer" target="_blank">https://where2b-conference.com/</a><br>
**********************************<br>
<br>
   Astrid Emde<br>
   WhereGroup GmbH<br>
   Eifelstraße 7<br>
   53119 Bonn<br>
   Germany<br>
<br>
   Tel: +49(0)228 90 90 38 - 22<br>
   Fax: +49(0)228 90 90 38 - 11<br>
<br>
   <a href="mailto:astrid.emde@wheregroup.com" target="_blank">astrid.emde@wheregroup.com</a><br>
   <a href="http://www.wheregroup.com" rel="noreferrer" target="_blank">www.wheregroup.com</a><br>
<br>
   Meinen PGP Public-Key können Sie unter <a href="http://pgp.mit.edu" rel="noreferrer" target="_blank">pgp.mit.edu</a> herunterladen:<br>
<br>
<a href="https://keys.openpgp.org/vks/v1/by-fingerprint/01F8152D36FC07C25EADDE86C5084ACC1C287CCB" rel="noreferrer" target="_blank">https://keys.openpgp.org/vks/v1/by-fingerprint/01F8152D36FC07C25EADDE86C5084ACC1C287CCB</a><br>
   Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen<br>
<br>
   Folgen Sie der WhereGroup auf twitter:<br>
   <a href="http://twitter.com/WhereGroup_com" rel="noreferrer" target="_blank">http://twitter.com/WhereGroup_com</a><br>
<br>
   Geschäftsführer:<br>
   Olaf Knopp, Peter Stamm<br>
   Amtsgericht Bonn, HRB 9885<br>
-------------------------------_______________________________________________<br>
MapServer-users mailing list<br>
<a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div>