Solved.  I needed to add a separate fastcgi per system by modifying the 
web.confi fastcgi line and adding the and in IIS I needed to add a separate 
fastcgi application for each installation.

On Saturday, July 20, 2019 at 7:30:00 AM UTC+2, Davidiam wrote:
>
> Hello,
>
> I have setup Web2Py with IIS using fastcgi and I got the application 
> running (currently testing using the Welcome app).
>
> In our project we will have multiple applications running parallel to each 
> other, each under a separate application.
> To do this, we have created the following structure : 
> D:\web2py\
> D:\web2py\QF1
> D:\web2py\QF2
> D:\web2py\QF3
>
> Under these directories we copied the web2py files (so the web.config, 
> routes.py are in the QFx directories).
> We converted the virtual directories to apps and set the user rights 
> according to the documentation.
>
> In each of the routes.py, we set the path_prefix according to the name of 
> the virtual directory :
> for example, for QF1 we put :
> routers = dict(BASE=dict(path_prefix = "qf1"))
>
> When we run the welcome app for qf1, it works, but then when we try to run 
> qf2 it immediately redirects to qf1, and the same for qf3.
> The app to which it redirects can vary depending on the first one we run 
> (after a while it seems to reset itself).
> We do not see what is causing the redirect, I have tried modifying the 
> web.config but so far no success in fixing the issue.
> Is there any way to log this ?
>
> Fastcgi is configured at server level.  We are using one application 
> pool.  We tried enabling logging but without success.
> Any help would be appreciated.
>

-- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/547020ad-257d-45c7-b399-fa04b476ad9d%40googlegroups.com.

Reply via email to