Hi I've created an IIS setup tutorial a couple years ago and I'm using the same setup till this day. It works fine for me. Folder namings and port selection can be different, but I like to stick with my conventions because it makes upgrading to a newer version much easier.
1. Download ms4w-4.0.3 <https://ms4w.com/release/archive/zip/ms4w_4.0.3.zip> 2. Unzip it to the root of your C drive as *ms4w-4.0.3* 3. Open Internet Information Services (IIS) Manager 1. Expand your server 2. Right click on Sites > Add Website... 1. Set the name to *MS4W-4.0.3* 2. Set the Physical path to *C:\ms4w-4.0.3\Apache\* 3. Set the IP address to '*All Unassigned*' and the Port to *1234 (set this to any free port as you wish)* 4. Click Ok 3. Right click on your site > Add Virtual Directory... 1. Set Alias to '*cgi-bin*' 2. Set Physical path > *C:\ms4w-4.0.3\Apache\cgi-bin\* 3. Click Ok 4. In Connections tab > Left click on *MS4W-4.0.3* 1. Open *Handler Mappings* 1. In Actions tab > Edit Feature Permissions... 2. Check Execute 3. Click Ok 5. In Connections tab > Left click on the server 1. Open *ISAPI and CGI Restrictions* 1. In Actions tab > Add... 2. Set the path to *C:\ms4w-4.0.3\Apache\cgi-bin\mapserv.exe* 3. Set Description to '*MS4W-4.0.3*' 4. Check *Allow extension path to execute* 5. Click Ok 4. Open up a browser > Go to *http://localhost <http://localhost>:1234/cgi-bin/mapserv.exe* 5. You should see this message: *No query information to decode. QUERY_STRING is set, but empty.* Let me know if you had any luck with these steps! Petrovicz On Wed, Dec 1, 2021 at 6:28 AM TC Haddad via MS4W-Users < [email protected]> wrote: > > Hi Mark, > > I've worked with someone who uses MS4W on IIS and it is a bit of a pain. > The next version of MS4W is nearly ready and will come with a newer version > of Apache. Unless it is urgent, you may just want to wait a little while > longer. > > Tanya > > On Tue, Nov 30, 2021 at 2:17 PM Mark Volz via MS4W-Users < > [email protected]> wrote: > >> Hello, >> >> >> >> Our organization needs to use a newer version of apache than what is >> available with MS4W 4.0.5. I am considering possibly using IIS to host our >> application. Unfortunately I am having trouble following the instructions >> on https://ms4w.com/README_INSTALL.html#how-to-install-ms4w. >> >> >> >> Please let me know if you have more verbatim instructions on how to use >> MS4W under IIS. I would prefer to keep all my files under c:\ms4w so that >> I can easily switch back to Apache when an updated version is available. >> >> >> >> Is it possible to use Mapcache with IIS or is that not an option? >> >> >> >> Thank you for your help! >> >> >> >> Sincerely, >> >> *Mark Volz, GISP* >> >> >> _______________________________________________ >> MS4W-Users mailing list >> [email protected] >> https://lists.ms4w.com/mailman/listinfo/ms4w-users >> > _______________________________________________ > MS4W-Users mailing list > [email protected] > https://lists.ms4w.com/mailman/listinfo/ms4w-users >
_______________________________________________ MS4W-Users mailing list [email protected] https://lists.ms4w.com/mailman/listinfo/ms4w-users
