Hi Mark,
with Windows we always have the problem that mapserv.exe is considered
dangerous by many firewalls and is blocked.
Here is a way to work around this problem and at the same time include
mapserv.exe as a FastCGI module.
I originally documented this in German, here is the translation:
Mapserver from MS4W as FastCGI module in IIS:
1. IIS Manager under Server Name -> FastCGI Settings -> Add Application.
Path: C:\ms4w\Apache\cgi-bin\mapserv.exe, max number of instances: 0
2. allow ISAPI and CGI restrictions for C:\ms4w\Apache\cgi-bin\mapserv.exe
3. copy empty file mapserver.fcgi to directory ms in C:\inetpub\wwroot
4. on default website right mouse button -> add application ->alias: ms,
path: C:\inetpub\wwroot\ms
5. handler mapping on ms -> add module mapping
Request path: mapserver.fcgi Module: FastCgiModule executable file:
C:\ms4w\Apache\cgi-bin\mapserv.exe
6. test: http://localhost/ms/mapserver.fcgi
and my original doc in german with screenshots here:
https://netgis.de/download/Mapserver_IIS.pdf
Best regards
Sven
Am 30.11.2021 um 23:16 schrieb Mark Volz via MS4W-Users:
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