On 30 May 2013, at 6:36 AM, Marian <[email protected]> wrote:
> When I change the prefix to e.g. 'w2p' it directs me to /w2p/welcome an there 
> is no endless loop.

What are the details of the invalid-response message?

> 
> On Thursday, May 30, 2013 3:12:21 PM UTC+2, Massimo Di Pierro wrote:
> Do you get the endless loop if the prefix is different from "applications"?
> 
> On Thursday, 30 May 2013 02:12:01 UTC-5, Marian wrote:
> Nobody had issues like this before? :(
> 
> On Thursday, May 23, 2013 10:06:06 AM UTC+2, Marian wrote:
> I wanted to switch from pattern-based routing on a Windows IIS7 Server with 
> isapi_wsgi to a parameter-based routing to benefit from nicer urls but it is 
> not working.
> It either says invalid request or the server stucks in an endless loop.
> 
> My functioning pattern based routing. As you can see I need to remove the 
> prefix 'applications'.
> default_application = 'imagecontest'
> default_controller = 'default'
> default_function = 'index'
>  
> routes_in=(('/applications/(?P<any>.*)','/\g<any>'),)
> routes_out=(('/(?P<any>.*)','/applications/\g<any>'),)
> 
> 
> What I tried...
> Invalid request (even without the path_prefix):
> routers = dict(
>     BASE=dict(
>         default_application = 'imagecontest',
>         path_prefix = 'applications',
>     )
> )
> 
> 
> 
> Endless loop:
> routers = dict(
>     BASE=dict(
>         path_prefix = 'applications',
>     )
> )
> 
> Am I doing something wrong?
> 
> 


-- 

--- 
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/groups/opt_out.


Reply via email to