There's no such thing as routers.py -- if using the parameter-based rewrite 
system, you still use routes.py. Anyway, did you try adding routes_onerror 
to routes.py: http://web2py.com/books/default/chapter/29/4#Routes-on-error? 
Note, you have to restart the app for routes changes to take effect.

Anthony

On Friday, May 11, 2012 11:06:18 PM UTC-4, Sushant Taneja wrote:
>
> Hi All,
>
> I have two static custom errors pages for all 4XX and 5XX error codes.
> I want to integrate them with my web2py application which needs to be 
> deployed on app engine.
>
> I tried playing around with routes.py as well as routers.py but still 
> couldn't fix the same.
>
> Can anyone please tell me the correct way to achieve the above ?
>
> Thanks and Regards,
> Sushant Taneja
>

Reply via email to