On Feb 19, 2009, at 7:57 AM, przemek.ch wrote:

how can I override that nice orange 404 Not Found default pylons
0.9.7rc6 page?

In the controllers/error.py module. It's called to render that page. Merely render a different page instead.

And if I try to run a method that doesn't exits 
http://localhost:5000/controller/FakeMethod
i get

That will return a normal 404 when debug is turned off, which will then be caught and displayed by the Error controller in controllers/ error.py. The debug setting is in your development.ini. Generally you shouldn't use that ini file for production, you should make a seperate one with debug off, as documented:
http://pylonshq.com/docs/en/0.9.7/configuration/#production-configuration-files

Cheers,
Ben

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to