Re: [web2py] short url's and 404

2012-08-27 Thread jc
That is very helpful, thank you. --

Re: [web2py] short url's and 404

2012-08-27 Thread Jonathan Lundell
On 27 Aug 2012, at 7:30 AM, jc wrote: > I want to shorten url's and use hyphens in my paths. I also want to get a 404 > if the user tries an invalid url. I have played with routes.py but the effect > I get is shorter url's (good), hyphens in url's translated to underscores in > function and vie

[web2py] short url's and 404

2012-08-27 Thread jc
Hello I want to shorten url's and use hyphens in my paths. I also want to get a 404 if the user tries an invalid url. I have played with routes.py but the effect I get is shorter url's (good), hyphens in url's translated to underscores in function and view (good) , but all invalid url's route t