<div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Niroshan Sanjaya</b> <span dir="ltr"><<a href="mailto:nsanj88@gmail.com">nsanj88@gmail.com</a>></span><br>Date: Tue, Jul 26, 2016 at 9:01 AM<br>Subject: Re: Zoo-discuss Digest, Vol 49, Issue 9<br>To: ZOO-discuss <<a href="mailto:zoo-discuss@lists.osgeo.org">zoo-discuss@lists.osgeo.org</a>><br><br><br><div dir="ltr">Hi Bajpal, <div><br></div><div>This error "<span style="font-size:12.8px">Handler "CGI-exe1" has a bad module "CgiModule" in its module list</span>" basically occurred when CGI is not activated. You can active it as mentioned in the following URL </div><div><a href="https://www.iis.net/configreference/system.webserver/cgi" target="_blank">https://www.iis.net/configreference/system.webserver/cgi</a></div><div><br></div><div>It works for me. </div><div><br></div><div>Further, you can check ISAPI and CGI Restriction. If it is not there you can add as mentioned below. </div><div>
<p>ISAPI or CGI Path:</p><p>c:\inetpub\cgi-bin\zoo_loader.cgi</p><p>Description: ZOO-Project</p><div></div><p></p>
<p>then tick the box at the bottom of the window. </p><p><br></p><p>If not you can add it by using cmd. </p><span class=""><p><span style="font-size:12.8px">appcmd.exe set config /section:isapiCgiRestriction /+[path='c:\inetpub\cgi-bin\</span><span style="font-size:12.8px">zoo_loader.cgi',description='</span><span style="font-size:12.8px">ZOO-Project',allowed='True']</span></p></span><p><span style="font-size:12.8px">I guess this will help you to solve the issue. </span></p><p><span style="font-size:12.8px"><br></span></p><p><span style="font-size:12.8px">Thanks </span></p><span class="HOEnZb"><font color="#888888"><p><span style="font-size:12.8px">Niroshan </span></p><div></div><p></p>
</font></span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 26, 2016 at 4:00 AM, <span dir="ltr"><<a href="mailto:zoo-discuss-request@lists.osgeo.org" target="_blank">zoo-discuss-request@lists.osgeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Zoo-discuss mailing list submissions to<br>
<a href="mailto:zoo-discuss@lists.osgeo.org" target="_blank">zoo-discuss@lists.osgeo.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.osgeo.org/mailman/listinfo/zoo-discuss" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/zoo-discuss</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:zoo-discuss-request@lists.osgeo.org" target="_blank">zoo-discuss-request@lists.osgeo.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:zoo-discuss-owner@lists.osgeo.org" target="_blank">zoo-discuss-owner@lists.osgeo.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Zoo-discuss digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Fwd: Installation of Zoo in Windows 10 (Fenoy Gerald)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 25 Jul 2016 09:49:46 +0200<br>
From: Fenoy Gerald <<a href="mailto:gerald.fenoy@geolabs.fr" target="_blank">gerald.fenoy@geolabs.fr</a>><br>
To: Anju Bajpai <<a href="mailto:bajpai.anju@gmail.com" target="_blank">bajpai.anju@gmail.com</a>><br>
Cc: ZOO-discuss <<a href="mailto:zoo-discuss@lists.osgeo.org" target="_blank">zoo-discuss@lists.osgeo.org</a>><br>
Subject: Re: [Zoo-discuss] Fwd: Installation of Zoo in Windows 10<br>
Message-ID: <<a href="mailto:2BC3E061-FFD1-41A8-B30B-5D78A4402430@geolabs.fr" target="_blank">2BC3E061-FFD1-41A8-B30B-5D78A4402430@geolabs.fr</a>><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
Hello,<br>
I suppose that the CgiModule has not been installed in your IIS setup. Try activate it and rerun any WPS requests.<br>
<br>
Hope this helps.<br>
Best regards,<br>
<br>
> Le 24 juil. 2016 à 18:15, Anju Bajpai <<a href="mailto:bajpai.anju@gmail.com" target="_blank">bajpai.anju@gmail.com</a>> a écrit :<br>
><br>
> Dear Fenoy,<br>
><br>
> After the last successfull installation on a 32 bit windows 10 machine, now I was trying to install it in 64 bit Windows 10 system using 64 bit installer. After running the appcmd commands that you gave in the last post also an Internal server error is coming. Please tell me how to resolve. This what i See when a go to <a href="http://localhost/cgi-bin/zoo_loader.cgi" rel="noreferrer" target="_blank">http://localhost/cgi-bin/zoo_loader.cgi</a><br>
> URL.<br>
> TTP Error 500.21 - Internal Server Error<br>
><br>
> Handler "CGI-exe1" has a bad module "CgiModule" in its module list<br>
><br>
><br>
> Most likely causes:<br>
><br>
> • Managed handler is used; however, <a href="http://ASP.NET" rel="noreferrer" target="_blank">ASP.NET</a> is not installed or is not installed completely.<br>
> • There is a typographical error in the configuration for the handler module list.<br>
> • During application initialization, either the application initialization feature has set skipManagedModules to true, or a rewrite rule is setting a URL that maps to a managed handler and is also setting SKIP_MANAGED_MODULES=1.<br>
><br>
> Things you can try:<br>
><br>
> • Install <a href="http://ASP.NET" rel="noreferrer" target="_blank">ASP.NET</a> if you are using managed handler.<br>
> • Ensure that the handler module's name is specified correctly. Module names are case-sensitive and use the format modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule".<br>
> • Ensure that any application initialization rewrite rules set SKIP_MANAGED_MODULE=0 when setting a URL that maps to a managed handler (such as .aspx, for example.)<br>
> • As an alternative, ensure that application initialization rewrite rules map the request to an unmanaged handler (for example, to an .htm file, which is mapped to the StaticFileHandler.)<br>
><br>
> Detailed Error Information:<br>
><br>
> Module IIS Web Core<br>
> Notification ExecuteRequestHandler<br>
> Handler CGI-exe1<br>
> Error Code 0x8007000d<br>
> Requested URL <a href="http://localhost:80/cgi-bin/zoo_loader.cgi" rel="noreferrer" target="_blank">http://localhost:80/cgi-bin/zoo_loader.cgi</a><br>
> Physical Path c:\inetpub\cgi-bin\zoo_loader.cgi<br>
> Logon Method Anonymous<br>
> Logon User Anonymous<br>
><br>
> More Information:<br>
><br>
> IIS core does not recognize the module.<br>
><br>
><br>
> Anju Bajpai<br>
><br>
><br>
><br>
> On Thu, Jun 23, 2016 at 3:24 PM, Fenoy Gerald <<a href="mailto:gerald.fenoy@geolabs.fr" target="_blank">gerald.fenoy@geolabs.fr</a>> wrote:<br>
> Dear Anju,<br>
> you should take a look at the CGI-Exe1 handler from your IIS configuration interface and make sure it accept all the HTTP verb, which should be the case when the installer has run the following command:<br>
><br>
> appcmd set config /section:handlers /+[name='CGI-exe1',path='*.cgi',verb='*',modules='CgiModule']<br>
><br>
> You should not define any mimeType for cgi application. Indeed, it will be the ZOO-Kernel responsibility to generate the adequate mimeType depending on the request sent by clients.<br>
><br>
> Personally I would also try to access the ZOO-Kernel using the following very basic request: <a href="http://localhost/cgi-bin/zoo_loader.cgi" rel="noreferrer" target="_blank">http://localhost/cgi-bin/zoo_loader.cgi</a> . If it returns an exception report then it means that only the POST request cause the trouble and we should find the way to solve it after we are sure that at least GET is working.<br>
><br>
> I hope this helps and it can solve your issue.<br>
><br>
> Bets regards,<br>
><br>
><br>
> > Le 23 juin 2016 à 11:18, Anju Bajpai <<a href="mailto:bajpai.anju@gmail.com" target="_blank">bajpai.anju@gmail.com</a>> a écrit :<br>
> ><br>
> > Dear Fenoy,<br>
> ><br>
> > Thankyou for giving a quick reply.I have run the command given by you but it is giving message as "ERROR ( message:New add object missing required attributes. Cannot add duplicate collection entry of type 'add' with unique key attribute 'path' set to 'c:\inetpub\cgi-bin\zoo_loader.cgi'. By the way what is the mime type for CGI in IIS 10 Windows 10? I have added it as Filename Extension = ".cgi" MIME Type:-"magnus-internal/cgi"<br>
> > . )".<br>
> > See Screenshot for the error loading zoo_loader.cgi<br>
> ><br>
> > <image.png><br>
> ><br>
> > Please help regarding this.<br>
> ><br>
> > On Thu, Jun 23, 2016 at 2:06 PM, Fenoy Gerald <<a href="mailto:gerald.fenoy@geolabs.fr" target="_blank">gerald.fenoy@geolabs.fr</a>> wrote:<br>
> > Dear Anju,<br>
> > thanks for trying to use the ZOO-Project on your windows platform.<br>
> ><br>
> > The error you have means that something went wrong during the configuration of your IIS from the installer.<br>
> ><br>
> > I would like to invite you to try the following commands: [1]. It contains all the command which should be run from the installer, you may have noticed that the last line of the commands has been added few weeks ago so it may explain why this was missing in the installer at that time. So first I would try this command from a cmd run as administrator:<br>
> ><br>
> > appcmd.exe set config /section:isapiCgiRestriction /+[path='c:\inetpub\cgi-bin\zoo_loader.cgi',description='ZOO-Project',allowed='True']<br>
> ><br>
> > I hope this helps and you can confirm that it solved you issue.<br>
> ><br>
> > Best regards,<br>
> ><br>
> > [1] <a href="http://www.zoo-project.org/docs/install/windows.html#install-by-hand" rel="noreferrer" target="_blank">http://www.zoo-project.org/docs/install/windows.html#install-by-hand</a><br>
> ><br>
> > > Le 23 juin 2016 à 08:53, Anju Bajpai <<a href="mailto:bajpai.anju@gmail.com" target="_blank">bajpai.anju@gmail.com</a>> a écrit :<br>
> > ><br>
> > ><br>
> > > Dear All,<br>
> > ><br>
> > > I have just started exploring zoo and it's WPS features for GIS projects.But after installation in IIS 10 and Python 2.7 using Zoo Installer for Windows(32 bit Windows10), I am getting the following error:-<br>
> > ><br>
> > > POST <a href="http://localhost/cgi-bin/zoo_loader.cgi" rel="noreferrer" target="_blank">http://localhost/cgi-bin/zoo_loader.cgi</a> 405 Method Not Allowed<br>
> > ><br>
> > > Can you please tell me what could be the possible reason for this?<br>
> > ><br>
> > > Anju Bajpai<br>
> > > RRSC-C<br>
> > > Nagpur<br>
> > ><br>
> > ><br>
> > > _______________________________________________<br>
> > > Zoo-discuss mailing list<br>
> > > <a href="mailto:Zoo-discuss@lists.osgeo.org" target="_blank">Zoo-discuss@lists.osgeo.org</a><br>
> > > <a href="http://lists.osgeo.org/mailman/listinfo/zoo-discuss" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/zoo-discuss</a><br>
> ><br>
> ><br>
> ><br>
> > Gérald Fenoy<br>
> > <a href="http://wiki.osgeo.org/wiki/User:Djay" rel="noreferrer" target="_blank">http://wiki.osgeo.org/wiki/User:Djay</a><br>
> ><br>
> ><br>
><br>
><br>
><br>
> Gérald Fenoy<br>
> <a href="http://wiki.osgeo.org/wiki/User:Djay" rel="noreferrer" target="_blank">http://wiki.osgeo.org/wiki/User:Djay</a><br>
><br>
><br>
> _______________________________________________<br>
> Zoo-discuss mailing list<br>
> <a href="mailto:Zoo-discuss@lists.osgeo.org" target="_blank">Zoo-discuss@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/zoo-discuss" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/zoo-discuss</a><br>
<br>
<br>
<br>
Gérald Fenoy<br>
<a href="http://wiki.osgeo.org/wiki/User:Djay" rel="noreferrer" target="_blank">http://wiki.osgeo.org/wiki/User:Djay</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Zoo-discuss mailing list<br>
<a href="mailto:Zoo-discuss@lists.osgeo.org" target="_blank">Zoo-discuss@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/zoo-discuss" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/zoo-discuss</a><br>
<br>
------------------------------<br>
<br>
End of Zoo-discuss Digest, Vol 49, Issue 9<br>
******************************************<br>
</blockquote></div><br></div>
</div></div></div><br></div>