[web2py] Re: Redirect status of redirects via routes.py

2010-07-31 Thread ma...@rockiger.com
ok, I understand. Then what is better: handle the redirects via htaccess or via a web2py solution? Any experience with that? On Jul 29, 11:58 pm, mdipierro wrote: > None of them. > > routes_in does not generates a response. The map is done internally > before dispatching. web2py only sees the n

[web2py] Re: Redirect status of redirects via routes.py

2010-07-29 Thread mdipierro
None of them. routes_in does not generates a response. The map is done internally before dispatching. web2py only sees the new url, not the old one. On Jul 29, 3:58 am, "ma...@rockiger.com" wrote: > If I rewrite an old url to a new one in routes.py: > What is the response? A 301(permanent) or a