The PHP mapscript wrapper looks promising.  Thanks. The examples would need to be combined into one php file to handle both GetMap and GetCapabilities requests. Seems doable.  I&#39;m not a programmer and didn&#39;t want to get into mapscript, however, modifying this script template doesn&#39;t seem too difficult (if you already have PHP, which my server does.)<br>
<br>I&#39;m not a big fan of copying and renaming the mapserv.exe file but it does work well. We only publish a handful of services and do not expect to significantly increase in the future.  If we do, scripting a batch file would work just as well.  This is relatively easy and without the need to install (re: maintenance, security) or learn additional programming languages.  <br>
<br>For me, it&#39;s also important to have short, easily readable URLs to send out to people that use our WMS services.  I do not want the extra &quot;?map=mymap&quot; parameters at the end of the URLs.  For one reason or another, things always get screwed up when people start pasting these URLs into their desktop GIS or other apps.  Simpler the better, even if it&#39;s not elegant or involves slightly more work on my part.<br>
<br>- John<br><br clear="all">**************************************************<br>John Callahan, Research Scientist<br>Delaware Geological Survey, University of Delaware<br>URL: <a href="http://www.dgs.udel.edu" target="_blank">http://www.dgs.udel.edu</a><br>
**************************************************<br>
<br><br><div class="gmail_quote">On Thu, Nov 4, 2010 at 2:53 AM, Waberzeck, Thomas <span dir="ltr">&lt;<a href="mailto:Thomas.Waberzeck@liag-hannover.de">Thomas.Waberzeck@liag-hannover.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">Jukka Rahkonen wrote:<br>
&gt; P Kishor wrote:<br>
&gt;<br>
&gt; &gt; So you have 15 copies of the binary floating around on your computer.<br>
&gt; &gt; What a nightmare. If you upgrade, you have to make 15 copies of the<br>
&gt; &gt; new version and replace the old version.<br>
&gt;<br>
&gt; &gt; What would happen when you publish the 150th geologic map?<br>
&gt;<br>
&gt; &gt; Use a single binary, and use a wrapper (or the env variable) to get<br>
&gt; &gt; the right query.<br>
&gt;<br>
&gt; I do not believe there are handy wrappers for Windows and the only way<br>
&gt; I have been able to get SetEnvIf to work is to make copies of<br>
&gt; mapserv.exe with different names. I maintain a batch file about our<br>
&gt; services with lines like &quot;COPY mapserv.exe WMS_service1&quot; etc. and then<br>
&gt; I only need to run the batch after update and publishing the 150th<br>
&gt; service does not change anything.<br>
<br>
<br>
</div>If you have php it&#39;s quite easy to write a small wrapper for it. See <a href="http://www.mapserver.org/ogc/mapscript.html#php-example" target="_blank">http://www.mapserver.org/ogc/mapscript.html#php-example</a> so the only thing to do is to write the wrappers once and you have a single setup of Mapserver.<br>

<br>
Thomas<br>
BTW: The Example should be updated - I think php_mapscript_4.10.0.dll is out of date. The name of the .dll is just php_mapscript.dll.<br>
<div><div></div><div class="h5">_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</div></div></blockquote></div><br>