<div dir="ltr"><div>Hi,</div><div><br></div><div>The documentation on templates says that my template can access variables like "<span style="color:rgb(62,67,73);font-family:Arial,sans-serif;font-size:12.8px">[post or get variable name], [post or get variable name_esc]". </span><a href="http://mapserver.org/mapfile/template.html">http://mapserver.org/mapfile/template.html</a></div><div><br></div><div>So if my layer is defined with a runtime substitution variable image_id as follows:</div><div><br></div><div>        LAYER</div><div>                NAME layer_1</div><div>                DATA "/vsis3/bucket/%image_id%.tif"</div><div>                VALIDATION</div><div>                        'image_id' "^[0-9A-F]{16}$"</div><div>                        'default_image_id' "not-available"</div><div>                END</div><div>                TYPE RASTER</div><div>        END</div><div><br></div><div>then my template can output [image_id].  This is very handy.  Is there a template variable to capture all variables?  That is, if I make a request:</div><div><br></div><div><a href="http://localhost/mapserv?MAP=/mapfiles/foo.map&image_id=D0A001D2734FAE00&auth_id=foobarbaz&MODE=browse">http://localhost/mapserv?MAP=/mapfiles/foo.map&image_id=D0A001D2734FAE00&auth_id=foobarbaz&MODE=browse</a><br></div><div><br></div><div>I'd like a template variable something like [variables] to return all variables not understood by WMS/WFS, so [variables] = "image_id=D0A001D2734FAE00&auth_id=foobarbaz"?</div><div><br></div><div>I do realize that my template could have both [image_id] and [auth_id], but I'm considering an application that may have many different types of variables passed in where I don't know in advance every possible custom variable when I write my template. Perhaps some of the querystring arguments (for example: auth_id) are parsed upstream by a proxy for authentication prior to being handled by Mapserver.</div><div><br></div>Thanks!<br><div class="gmail_signature">Pete</div>
</div>