<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=us-ascii">
<meta name=Generator content="Microsoft Word 12 (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:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Cambria;
panose-1:2 4 5 3 5 4 6 3 2 4;}
@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;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
h1
{mso-style-priority:9;
mso-style-link:"Heading 1 Char";
margin-top:24.0pt;
margin-right:0in;
margin-bottom:0in;
margin-left:0in;
margin-bottom:.0001pt;
line-height:115%;
page-break-after:avoid;
font-size:14.0pt;
font-family:"Cambria","serif";
color:#365F91;}
h2
{mso-style-priority:9;
mso-style-link:"Heading 2 Char";
margin-top:10.0pt;
margin-right:0in;
margin-bottom:0in;
margin-left:0in;
margin-bottom:.0001pt;
line-height:115%;
page-break-after:avoid;
font-size:13.0pt;
font-family:"Cambria","serif";
color:#4F81BD;}
h3
{mso-style-priority:9;
mso-style-link:"Heading 3 Char";
margin-top:10.0pt;
margin-right:0in;
margin-bottom:0in;
margin-left:0in;
margin-bottom:.0001pt;
line-height:115%;
page-break-after:avoid;
font-size:11.0pt;
font-family:"Cambria","serif";
color:#4F81BD;}
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.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.Heading1Char
{mso-style-name:"Heading 1 Char";
mso-style-priority:9;
mso-style-link:"Heading 1";
font-family:"Cambria","serif";
color:#365F91;
font-weight:bold;}
span.Heading2Char
{mso-style-name:"Heading 2 Char";
mso-style-priority:9;
mso-style-link:"Heading 2";
font-family:"Cambria","serif";
color:#4F81BD;
font-weight:bold;}
span.Heading3Char
{mso-style-name:"Heading 3 Char";
mso-style-priority:9;
mso-style-link:"Heading 3";
font-family:"Cambria","serif";
color:#4F81BD;
font-weight:bold;}
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 Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:735855474;
mso-list-type:hybrid;
mso-list-template-ids:2136221152 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level2
{mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l0:level3
{mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l0:level4
{mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l0:level5
{mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l0:level6
{mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l0:level7
{mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l0:level8
{mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l0:level9
{mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l1
{mso-list-id:937564847;
mso-list-type:hybrid;
mso-list-template-ids:-578113354 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l1:level2
{mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l1:level3
{mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l1:level4
{mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l1:level5
{mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l1:level6
{mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l1:level7
{mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l1:level8
{mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l1:level9
{mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l2
{mso-list-id:946694056;
mso-list-type:hybrid;
mso-list-template-ids:-1082983962 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l2:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l2:level2
{mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l2:level3
{mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l2:level4
{mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l2:level5
{mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l2:level6
{mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l2:level7
{mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l2:level8
{mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l2:level9
{mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l3
{mso-list-id:1060902271;
mso-list-type:hybrid;
mso-list-template-ids:-1162070732 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l3:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:1.0in;
text-indent:-.25in;
font-family:Symbol;}
@list l3:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:1.5in;
text-indent:-.25in;
font-family:"Courier New";
mso-bidi-font-family:"Times New Roman";}
@list l4
{mso-list-id:1557164291;
mso-list-type:hybrid;
mso-list-template-ids:-1256570108 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l4:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l4:level2
{mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l4:level3
{mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l4:level4
{mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l4:level5
{mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l4:level6
{mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l4:level7
{mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l4:level8
{mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l4:level9
{mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l5
{mso-list-id:1989312181;
mso-list-type:hybrid;
mso-list-template-ids:-1904972126 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l5:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l5:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";
mso-bidi-font-family:"Times New Roman";}
@list l5:level3
{mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l5:level4
{mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l5:level5
{mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l5:level6
{mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l5:level7
{mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l5:level8
{mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
@list l5:level9
{mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-bidi-font-family:"Times New Roman";}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</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=Section1>
<p class=MsoNormal><span style='color:#1F497D'>Hi all,<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Thanks for help on the mapserver
configuration on IIS. Now I’ve figured out the way to run mapserver on
IIS7 , which is quite different from the way to IIS 5&6. I made a summary below
and share with you. Hope it would be helpful. </span><span style='font-family:
Wingdings;color:#1F497D'>J</span><span style='color:#1F497D'><o:p></o:p></span></p>
<h1 align=center style='text-align:center'>How to port Mapserver from Apache to
IIS 7?<o:p></o:p></h1>
<h2>Base configuration<o:p></o:p></h2>
<p class=MsoListParagraphCxSpFirst style='margin-bottom:10.0pt;text-indent:
-.25in;line-height:115%;mso-list:l1 level1 lfo1'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>Windows 7<o:p></o:p></p>
<p class=MsoListParagraphCxSpMiddle style='margin-bottom:10.0pt;text-indent:
-.25in;line-height:115%;mso-list:l1 level1 lfo1'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>IIS 7.0<o:p></o:p></p>
<p class=MsoListParagraphCxSpMiddle style='margin-bottom:10.0pt;text-indent:
-.25in;line-height:115%;mso-list:l1 level1 lfo1'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>MS4W 2.3.1<o:p></o:p></p>
<p class=MsoListParagraphCxSpMiddle style='margin-bottom:10.0pt;text-indent:
-.25in;line-height:115%;mso-list:l1 level1 lfo1'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>PHP 5.2.6<o:p></o:p></p>
<p class=MsoListParagraphCxSpMiddle style='margin-bottom:10.0pt;text-indent:
-.25in;line-height:115%;mso-list:l1 level1 lfo1'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>Mapserver 5.2.1<o:p></o:p></p>
<p class=MsoListParagraphCxSpLast style='margin-bottom:10.0pt;text-indent:-.25in;
line-height:115%;mso-list:l1 level1 lfo1'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>MS4W was installed in D:\ms4w<o:p></o:p></p>
<h2>Steps:<o:p></o:p></h2>
<h3>Enable FastCGI Support in IIS 7.0<o:p></o:p></h3>
<p class=MsoNormal>Add the CGI feature by going to Control Panel-> Programs
and Features -> Turn Windows features on or off.<o:p></o:p></p>
<p class=MsoNormal><img width=429 height=375 id="Picture_x0020_1"
src="cid:image001.png@01C9C721.4A0C7B70"><o:p></o:p></p>
<h3>Install and Configure PHP<o:p></o:p></h3>
<p class=MsoNormal>Php.ini file is located in D:\ms4w\Apache\cgi-bin. Open the
file and modify settings as followed: <o:p></o:p></p>
<p class=MsoListParagraphCxSpFirst style='margin-bottom:10.0pt;text-indent:
-.25in;line-height:115%;mso-list:l4 level1 lfo2'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>Set <b>cgi.force_redirect = 0<o:p></o:p></b></p>
<p class=MsoListParagraphCxSpLast style='margin-bottom:10.0pt;text-indent:-.25in;
line-height:115%;mso-list:l4 level1 lfo2'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>Set <b>cig.fix_pathinfo = 1<o:p></o:p></b></p>
<h3>Configure IIS 7 to handle PHP requests<o:p></o:p></h3>
<p class=MsoNormal>In order for IIS 7.0 to host PHP applications, it is
necessary to add a handler mapping that tells IIS to pass all PHP specific
requests to the PHP application framework via FastCGI protocol.<o:p></o:p></p>
<p class=MsoListParagraphCxSpFirst style='margin-bottom:10.0pt;text-indent:
-.25in;line-height:115%;mso-list:l5 level1 lfo3'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>Open IIS Manger<o:p></o:p></p>
<p class=MsoListParagraphCxSpMiddle style='margin-bottom:10.0pt;text-indent:
-.25in;line-height:115%;mso-list:l5 level1 lfo3'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>Create a new site (eg. map)<o:p></o:p></p>
<p class=MsoListParagraphCxSpMiddle style='margin-bottom:10.0pt;text-indent:
-.25in;line-height:115%;mso-list:l5 level1 lfo3'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>select and open “Handler Mappings”
under the new site<o:p></o:p></p>
<p class=MsoListParagraph><img width=624 height=425 id="Picture_x0020_2"
src="cid:image002.png@01C9C721.4A0C7B70"><o:p></o:p></p>
<p class=MsoListParagraphCxSpMiddle style='margin-bottom:10.0pt;text-indent:
-.25in;line-height:115%;mso-list:l5 level1 lfo3'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>Add Script Map:<o:p></o:p></p>
<p class=MsoListParagraphCxSpMiddle style='mso-margin-top-alt:0in;margin-right:
0in;margin-bottom:10.0pt;margin-left:1.0in;text-indent:-.25in;line-height:115%;
mso-list:l5 level2 lfo3'><![if !supportLists]><span style='font-family:"Courier New"'><span
style='mso-list:Ignore'>o<span style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>Request path: *.php<o:p></o:p></p>
<p class=MsoListParagraphCxSpMiddle style='mso-margin-top-alt:0in;margin-right:
0in;margin-bottom:10.0pt;margin-left:1.0in;text-indent:-.25in;line-height:115%;
mso-list:l5 level2 lfo3'><![if !supportLists]><span style='font-family:"Courier New"'><span
style='mso-list:Ignore'>o<span style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>Executable: D:\ms4w\Apache\cgi-bin\php-cgi.exe<o:p></o:p></p>
<p class=MsoListParagraph style='margin-left:1.0in'><o:p> </o:p></p>
<p class=MsoListParagraph><img width=199 height=215 id="Picture_x0020_3"
src="cid:image003.png@01C9C721.4A0C7B70"><img width=476 height=388
id="Picture_x0020_4" src="cid:image004.png@01C9C721.4A0C7B70"><o:p></o:p></p>
<p class=MsoListParagraph><o:p> </o:p></p>
<p class=MsoListParagraphCxSpMiddle style='margin-bottom:10.0pt;text-indent:
-.25in;line-height:115%;mso-list:l5 level1 lfo3'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>Edit feature permissions: click on read &
script & execute<o:p></o:p></p>
<p class=MsoListParagraph><img width=599 height=452 id="Picture_x0020_5"
src="cid:image005.png@01C9C721.4A0C7B70"><o:p></o:p></p>
<p class=MsoListParagraphCxSpMiddle style='margin-bottom:10.0pt;text-indent:
-.25in;line-height:115%;mso-list:l5 level1 lfo3'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>Test PHP: <a href="http://localhost/phpinfo.php">http://localhost/phpinfo.php</a>
<o:p></o:p></p>
<p class=MsoListParagraph>If everything was setup correctly, you will see the
standard PHP information page.<o:p></o:p></p>
<p class=MsoListParagraph><img border=0 width=619 height=703
id="Picture_x0020_6" src="cid:image006.png@01C9C721.4A0C7B70"><o:p></o:p></p>
<h3>Under the tree for your website, create virtual directories<o:p></o:p></h3>
<p class=MsoListParagraphCxSpFirst style='text-indent:-.25in;mso-list:l0 level1 lfo4'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>Cgi-bin: set local path point to <b>d:\ms4w\apache\cgi-bin</b><o:p></o:p></p>
<p class=MsoListParagraphCxSpMiddle style='text-indent:-.25in;mso-list:l0 level1 lfo4'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>Ms_tmp: set local path
point to <b>d:\ms4w\tmp\ms_tmp</b><o:p></o:p></p>
<p class=MsoListParagraphCxSpLast style='margin-bottom:10.0pt;text-indent:-.25in;
line-height:115%;mso-list:l0 level1 lfo4'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>Tmp: set local path point to <b>d:\ms4w\tmp</b><o:p></o:p></p>
<h3>Mapfile configuration (using gmap for testing)<o:p></o:p></h3>
<p class=MsoListParagraphCxSpFirst style='margin-bottom:10.0pt;text-indent:
-.25in;line-height:115%;mso-list:l2 level1 lfo5'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>Add a line to the mapfile: <b>CONFIG PROJ_LIB
"d:\ms4w\proj\nad\"</b><o:p></o:p></p>
<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l2 level1 lfo5'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>Create a virtual directory for it: local
path point to: <b>d:\ms4w\apps\gmap\htdocs</b><o:p></o:p></p>
<h3>Environment Variables<o:p></o:p></h3>
<p class=MsoListParagraphCxSpFirst style='margin-bottom:10.0pt;text-indent:
-.25in;line-height:115%;mso-list:l2 level1 lfo5'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>Go to system properties -> Advanced ->
environment variables<o:p></o:p></p>
<p class=MsoListParagraphCxSpMiddle style='margin-bottom:10.0pt;text-indent:
-.25in;line-height:115%;mso-list:l2 level1 lfo5'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>Under system variables, find PATH and click edit
<o:p></o:p></p>
<p class=MsoListParagraphCxSpLast style='margin-bottom:10.0pt;text-indent:-.25in;
line-height:115%;mso-list:l2 level1 lfo5'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]>In the variable value, add <b>D:\ms4w\Apache\cgi-bin;
</b>in it.<o:p></o:p></p>
<p class=MsoNormal>Ok, that’s it. Try <a href="http://localhost/gmap">http://localhost/gmap</a>
and enjoy!<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Warmest regards,<o:p></o:p></p>
<p class=MsoNormal>Jessie<o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><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"'> Jessie Xu <br>
<b>Sent:</b> Wednesday, April 08, 2009 1:19 PM<br>
<b>To:</b> 'mapserver-users@lists.osgeo.org'<br>
<b>Subject:</b> port from Apache to IIS<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I’d like to have mapserver running on IIS 7 and want
to know how? I saw an article called ‘IIS setup for Mapserver’ but
it is written in 2005 based on IIS 5. Could someone give me a hand to figure
out how to port from Apache to IIS 7? What changes should be made to config
files, virtual directories and permissions, etc?<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Thanks for help!<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Jessie<o:p></o:p></p>
</div>
</body>
</html>