<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.yiv1990698663emailquote, li.yiv1990698663emailquote, div.yiv1990698663emailquote
        {mso-style-name:yiv1990698663emailquote;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.yiv1990698663msonormal, li.yiv1990698663msonormal, div.yiv1990698663msonormal
        {mso-style-name:yiv1990698663msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.yiv1990698663msochpdefault, li.yiv1990698663msochpdefault, div.yiv1990698663msochpdefault
        {mso-style-name:yiv1990698663msochpdefault;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.yiv1990698663msohyperlink
        {mso-style-name:yiv1990698663msohyperlink;}
span.yiv1990698663msohyperlinkfollowed
        {mso-style-name:yiv1990698663msohyperlinkfollowed;}
span.yiv1990698663emailstyle18
        {mso-style-name:yiv1990698663emailstyle18;}
p.yiv1990698663msonormal1, li.yiv1990698663msonormal1, div.yiv1990698663msonormal1
        {mso-style-name:yiv1990698663msonormal1;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.yiv1990698663msohyperlink1
        {mso-style-name:yiv1990698663msohyperlink1;
        color:blue;
        text-decoration:underline;}
span.yiv1990698663msohyperlinkfollowed1
        {mso-style-name:yiv1990698663msohyperlinkfollowed1;
        color:purple;
        text-decoration:underline;}
p.yiv1990698663emailquote1, li.yiv1990698663emailquote1, div.yiv1990698663emailquote1
        {mso-style-name:yiv1990698663emailquote1;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:1.0pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.yiv1990698663emailstyle181
        {mso-style-name:yiv1990698663emailstyle181;
        font-family:"Arial","sans-serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
p.yiv1990698663msochpdefault1, li.yiv1990698663msochpdefault1, div.yiv1990698663msochpdefault1
        {mso-style-name:yiv1990698663msochpdefault1;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle29
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Here is the Spartan version, sans screen shots.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>This is a development server so I have very loose rules to follow and may well have done things outside the norm. This site does not face the public. Be warned.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>There were many things going on and going wrong without useful error messages while I was setting this up thus I used the “all inclusive” approach to permissions and some of the permissions I assigned to the virtual directories may be unnecessary or undesirable. Someone with more IIS experience may wish to chime in on that topic.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I followed the GM instructions for IIS6, translating terms and interface dialogs as needed, using this very handy and thorough guide for MapServer under IIS7.5 first: <a href="http://mas-kono-tes.blogspot.com/2011/03/getting-mapserver-to-work-on-iis75.html">http://mas-kono-tes.blogspot.com/2011/03/getting-mapserver-to-work-on-iis75.html</a>. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>The IIS6 instructions really do work but I had problems because the interface and some terminology have changed in IIS7.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>First you must ensure that your IIS installation has been configured with CGI ability. This is not the default. The linked guide explains nicely.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I used the “default web site” in IIS Manager rather than set up a new site. I already had several other web-mapping sites running there as virtual directories.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I did not use the “ms4w” directory on “c:\” but rather a differently-named directory on “d:\”, excluding the “apache” directory. This changes nothing other than some paths.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Your site should have “Feature Permissions” (right-hand pane in IIS Manager) of Read and Script (default), but not Execute. Exceptions to specific directories as described above and below.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Once I had confirmed that MapServer responded to browser-based requests as described in the above guide I moved on to the GM config.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>You need a handler for PHP. First I tried to define this just for the virtual directories that required it, but that did not work reliably. Instead I chose to define the handler for the entire site. This may introduce vulnerabilities but it is simpler to manage and it works.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>With the default website highlighted start the Handler Mappings and Add Script Map. Use “*.php”’ for the Request path and point it to the php-cgi.exe in your MS4W cgi-bin. I called the handler “MapservPHP_Map”.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Confirm that you see entries for “CGI-exe”, “ISAPI-dll”, and “MapservPHP_Map” in the Handler Mappings for your cgi-bin directory.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Create a virtual directory for “geomoose2” and point it to the equivalent physical directories in your MS4W tree. Select the “geomoose2” virtual directory and open the Handler Mapping. Apply Read, Script, and Execute Feature Permissions. Confirm that you see entries entries for “CGI-exe”, “ISAPI-dll”, and “MapservPHP_Map” in the Handler Mappings for this directory. Execute may be superfluous.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Create a virtual directory for “ms_tmp” and point it to the equivalent physical directories in your MS4W tree. Select the “ms_tmp” virtual directory and open the Handler Mapping. Apply Read, Script, and Execute Feature Permissions. Confirm that you see entries entries for “CGI-exe”, “ISAPI-dll”, and “MapservPHP_Map” in the Handler Mappings for this directory. Execute may be superfluous.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Ensure that the IIS_IUSRS user has read/execute permission on the cgi-bin and geomoose2 physical directories, plus read/write permissions on the “ms_tmp” physical directory. It should have been taken care of automagically but you never know.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>That’s about it. Unfortunately I used virtual notes at the time and it’s likely you will see some slight variation to the above.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Please let me know if I need to check something else.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Take care,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Johan.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Dan Little [mailto:danlittle@yahoo.com] <br><b>Sent:</b> Tuesday, May 01, 2012 8:46 AM<br><b>To:</b> Johan Forsman; Mark Volz; GeoMOOSE Users List<br><b>Subject:</b> Re: [Geomoose-users] RE: Install GeoMOOSE using IIS 7<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>"No warranty explicit or implied."<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>Johan, if you were willing to write those instructions down, then maybe BrentF or BrainF could check them, or hell, even me. I can spin up a Windows 2008 SP-whatever server on Amazon and test the instructions.<o:p></o:p></span></p></div><div><blockquote style='border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-top:3.75pt;margin-bottom:5.0pt'><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'><o:p> </o:p></span></p><div><div><div><div class=MsoNormal align=center style='text-align:center;background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'><hr size=1 width="100%" align=center></span></div><p class=MsoNormal style='background:white'><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>From:</span></b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'> Johan Forsman <<a href="mailto:Johan.Forsman@LA.GOV">Johan.Forsman@LA.GOV</a>><br><b>To:</b> Mark Volz <<a href="mailto:MarkVolz@co.lyon.mn.us">MarkVolz@co.lyon.mn.us</a>>; GeoMOOSE Users List <<a href="mailto:geomoose-users@lists.osgeo.org">geomoose-users@lists.osgeo.org</a>> <br><b>Sent:</b> Tuesday, May 1, 2012 8:33 AM<br><b>Subject:</b> [Geomoose-users] RE: Install GeoMOOSE using IIS 7</span><span style='color:black'><o:p></o:p></span></p></div><p class=MsoNormal style='background:white'><span style='color:black'><o:p> </o:p></span></p><div id=yiv1990698663><div><div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>I have GM 2.2 and 2.6 within MS4W but using IIS7.5 rather than Apache. It was non-trivial to get going, but mostly because I needed to combine the instructions for using GM with IIS6 with instructions for running CGI and PHP under IIS7.5 that I found elsewhere. If you still need non-guaranteed guidance I can check my server config and try to recreate some rudimentary steps. It may help provided IIS7 and IIS7.5 don’t look different yet again.</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'> </span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>Take care,</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>Johan Forsman</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>Geologist</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>Engineering Services</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>LDHH-OPH-CEHS</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>225.342.7309</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'> </span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'> </span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'> </span><span style='color:black'><o:p></o:p></span></p></div><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><div><p class=MsoNormal style='background:white'><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>From:</span></b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'> <a href="mailto:geomoose-users-bounces@lists.osgeo.org">geomoose-users-bounces@lists.osgeo.org</a> <a href="mailto:[mailto:geomoose-users-bounces@lists.osgeo.org]">[mailto:geomoose-users-bounces@lists.osgeo.org]</a> <b>On Behalf Of </b>Mark Volz<br><b>Sent:</b> Monday, April 30, 2012 3:26 PM<br><b>To:</b> GeoMOOSE Users List<br><b>Subject:</b> [Geomoose-users] Install GeoMOOSE using IIS 7</span><span style='color:black'><o:p></o:p></span></p></div></div></div><div><p class=MsoNormal style='background:white'><span style='color:black'> <o:p></o:p></span></p></div><div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:black'>Hello,</span><span style='color:black'><o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:black'> </span><span style='color:black'><o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:black'>Has anyone had any luck installing GeoMOOSE on IIS7? We have a new server, and it appears that the interface for IIS7 is drastically different than IIS6.</span><span style='color:black'><o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:black'> </span><span style='color:black'><o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:black'> </span><span style='color:black'><o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:black'>Mark Volz</span><span style='color:black'><o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:black'>GIS Specialist</span><span style='color:black'><o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:black'> </span><span style='color:black'><o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:black'> </span><span style='color:black'><o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:black'> </span><span style='color:black'><o:p></o:p></span></p></div></div></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt;background:white'><span style='color:black'><br>_______________________________________________<br>Geomoose-users mailing list<br><a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br><br><o:p></o:p></span></p></div></div></blockquote></div></div></div></body></html>