[web2py] Re: Problems with parameter-based routing

2013-05-30 Thread Marian
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

[web2py] Re: Problems with parameter-based routing

2013-05-30 Thread Massimo Di Pierro
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

[web2py] Re: Problems with parameter-based routing

2013-05-30 Thread Marian
When I change the prefix to e.g. 'w2p' it directs me to /w2p/welcome an there is no endless loop. 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

[web2py] Re: Problems with parameter-based routing

2013-05-30 Thread Marian
You imply it goes into a endless redirect loop do you? ;) On Thursday, May 30, 2013 3:36:46 PM UTC+2, Marian wrote: When I change the prefix to e.g. 'w2p' it directs me to /w2p/welcome an there is no endless loop. On Thursday, May 30, 2013 3:12:21 PM UTC+2, Massimo Di Pierro wrote: Do you

Re: [web2py] Re: Problems with parameter-based routing

2013-05-30 Thread Jonathan Lundell
On 30 May 2013, at 6:36 AM, Marian score2...@gmx.net 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

Re: [web2py] Re: Problems with parameter-based routing

2013-05-30 Thread Marian
When I use the prefix w2p and try to open /applications I get: GET /applications /303 SEE OTHER GET welcome 404 Not Found The endless loop are 303 SEE OTHERs Response: You are being redirected a href=/applications/welcomehere/a On Thursday, May 30, 2013 3:54:51 PM UTC+2, Jonathan Lundell

Re: [web2py] Re: Problems with parameter-based routing

2013-05-30 Thread Jonathan Lundell
On 30 May 2013, at 8:24 AM, Marian score2...@gmx.net wrote: When I use the prefix w2p and try to open /applications I get: GET /applications /303 SEE OTHER GET welcome 404 Not Found The endless loop are 303 SEE OTHERs Response: You are being redirected a href=/applications/welcomehere/a

Re: [web2py] Re: Problems with parameter-based routing

2013-05-30 Thread Marian
In rewrite.py I see two 303 responses in try_rewrite_on_error and try_redirect_on_error, I think one is responsible for the automatic redirect. On Thursday, May 30, 2013 5:31:54 PM UTC+2, Jonathan Lundell wrote: On 30 May 2013, at 8:24 AM, Marian scor...@gmx.net javascript: wrote: When I

Re: [web2py] Re: Problems with parameter-based routing

2013-05-30 Thread Marian
I cannot tell which function is called, because I cannot patch the rewrite.py currently. The other error for the router: routers = dict( BASE=dict( default_application = 'imagecontest', path_prefix = 'applications', ) ) is a 400 Bad Request: unknown application: