[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 --

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,