On Monday, 14 December 2015 13:36:05 UTC+11, Tim Richardson wrote:
>
> wfastcgi is now a module on PyPi
>
> after installing it, the scripts directory has wfastcgi.exe and an enable 
> executable:  wfastcgi-enable.exe
> There is no wfastcgi.py
>
> However, running wfastcgi-enable.exe from an Admininistrator command 
> prompt makes a change to IIS configuration.
> It adds a handler for fastcgi which points to  site-packages/wfastcgi.py 
>
> But from IIS I get: 
>
>
> HTTP Error 500.0 - Internal Server Error 
> <handler> scriptProcessor could not be found in <fastCGI> application 
> configuration
>
>
>
OK. So I updated web.config like so:


 <system.webServer>
 <handlers>
           <add name="Python FastCGI"
           path="*"
           verb="*"
           modules="FastCgiModule"
           scriptProcessor=
"e:\python27_32\python2.7.exe|e:\python27_32\lib\site-packages\wfastcgi.pyc"
           resourceType="Unspecified"
           requireAccess="Script" />
    </handlers> 

and allowed the text file to update handlers (Server node->Feature 
Delegation -> Handler Mappings to Read/Write).
This means that IIS will read the text file and store the configuration it 
finds, so that I now see under the site which I call web2py 
handlers -> Handler Mappings

there is a value under Executable (optional) matching the scriptProcessor 
value above. 

Now I get 

HTTP Error 500.0 - Internal Server Error <handler> scriptProcessor could 
not be found in <fastCGI> application configuration 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to