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: 'imagecont

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 > wrote: > > When I use the prefix w2p and

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

2013-05-30 Thread Jonathan Lundell
On 30 May 2013, at 8:24 AM, Marian 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 here Any idea who's generating the redirect

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 here On Thursday, May 30, 2013 3:54:51 PM UTC+2, Jonathan Lundell wrote: > > On 30 May 2013, at 6:36

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

2013-05-30 Thread Jonathan Lundell
On 30 May 2013, at 6:36 AM, Marian 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 endles