That is not a valid regular expression. You want:
routes_onerror = [
('myapp/(.*)', '/myapp/default/fail'),
]
On Monday, 18 November 2013 09:17:07 UTC-6, Marco wrote:
>
> Il giorno mercoledì 2 dicembre 2009 05:07:25 UTC+1, Thadeus ha scritto:
>>
>> Yes, but that is not working :)
>> routes_onerror = [
>> ('thadeusb/*', '/thadeusb/default/error'),
>> ]
>>
>
>
> After 4 years, this still does not work...
>
> routes_onerror = [
> ('myapp/*', '/myapp/default/fail'),
> ]
>
> Always returns "invalid request"
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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.