<div dir="ltr"><div><div><div><div><div><div>This method is specific to Amazon EC2, but there is a gist located here<br><a href="https://gist.github.com/mwkorver/1ef45abac3871360f2b1" target="_blank">https://gist.github.com/mwkorver/1ef45abac3871360f2b1</a><br></div>that is an example of how to deploy a cluster of Mapservers using a remote map file AND data. Both map file and source geotiffs are accessed via HTTP because they both sit on S3.<br></div>The user-data script will install a few things including Yas3fs to run a Dockerized Mapserver image behind Nginx. Yas3fs is what mounts the S3 buckets in RO mode on the filesystem.<br></div>The Dockerfile located here - <a href="https://github.com/mwkorver/mapserver" target="_blank">https://github.com/mwkorver/mapserver</a><br></div>is the source for the image referenced in the user-data script. Even if you don't care for Docker it useful as an install script for Mapserver on Ubuntu if you are looking to use Nginx.<br></div>One problem I still have not fixed is that on reboot, Mapserver does not restart. Everything else comes back up. If someone could let me know how to fix that I would appreciate it.<br></div>-Mark<br><div><div><div><br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 21, 2016 at 1:53 PM, Basques, Bob (CI-StPaul) <span dir="ltr"><<a href="mailto:bob.basques@ci.stpaul.mn.us" target="_blank">bob.basques@ci.stpaul.mn.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
You could possibly make a SLD work with a WMS request, depending on what you need the mapfile to do.
<div><br>
</div>
<div>bobb</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
<div>
<blockquote type="cite"><div><div>
<div>On Mar 21, 2016, at 5:50 AM, Marco Afonso <<a href="mailto:mafonso333@gmail.com" target="_blank">mafonso333@gmail.com</a>> wrote:</div>
<br>
</div></div><div><div><div>
<div dir="ltr">Hi all,
<div><br>
</div>
<div>It is possible to get a remote mapfile instead from a local path in the cgi-variable?</div>
<div><br>
</div>
<div>For example, instead of:</div>
<div><a href="http://localhost:8081/cgi-bin/mapserv.exe?map=/local/path/mymap.map" target="_blank">http://localhost:8081/cgi-bin/mapserv.exe?map=/local/path/mymap.map</a></div>
<div><br>
</div>
<div>Something like:</div>
<div><a href="http://localhost:8081/cgi-bin/mapserv.exe?map=http://remotemachine/mymap.map" target="_blank">http://localhost:8081/cgi-bin/mapserv.exe?map=http://remotemachine/mymap.map</a><br>
</div>
<div><br>
</div>
<div>Thank you!</div>
<div>
<div><br>
</div>
-- <br>
<div>
<div dir="ltr">Best Regards,
<div>Marco Afonso</div>
<div><a href="http://goo.gl/ZDtQjm" target="_blank">http://goo.gl/ZDtQjm</a><br>
</div>
<div><span></span><img src="https://dl.dropboxusercontent.com/u/17607469/qr.png"><br>
</div>
</div>
</div>
</div>
</div></div></div><span>
_______________________________________________<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="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></span></div>
</blockquote>
</div>
<br>
</div>
</div>

<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="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></blockquote></div><br></div></div></div></div>