Re: [web2py] Custom 404 Pages

2010-03-29 Thread Thadeus Burgess
Now that you mention this, this is an issue. My google analytics on my blog I have noticed lots of pages being request down the rabbit hole, since I have the error redirecting. Except for overriding the template in routes, not sure how to make it look the same as the site. -Thadeus On Mon, M

[web2py] Custom 404 Pages

2010-03-29 Thread Chris
Hi, Is there a way to override the template used by the error pages so that they match my site by extending the base template? I tried to use the routes_onerror in routes.py to redirect on error, however, this removes the proper status codes (400, 404 etc.) which the site should return. Chris --

[web2py] Custom 404 pages

2010-03-06 Thread Abhishek Mishra
Hi I'm trying to implement a decorator for custom error pages in web2py into sahanapy. Ref - http://web2py.com/AlterEgo/default/show/75 I'm trying to keep it as a module in /modules directory so that I can import it into the controllers and place the decorator appropriately. I have kept error han