Custom 404/500 page example.. working

24 Nov
2004
24 Nov
'04
5:53 p.m.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Presented for your coding pleasure: http://divmod.org/users/wiki.twistd/nevow/moin.cgi/Custom404Page?action=show
I believe this is a fairly common use case: You want to automatically handle 404 and 500 errors by returning a custom Page of your own design. The example above shows you how to do it.
The same location previously held a version that used stan. With some help from Donovan and James I (finally) got it working with xml templates as well.
C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBpMqa3A5SrXAiHQcRAqK0AKCApV2k35MroB4zOX5klkzwg/1E3gCdEBXm
fW/H/m3/PFB+zLTqYX5Ki/Q=
=mKCT
-----END PGP SIGNATURE-----
6882
Age (days ago)
6882
Last active (days ago)
0 comments
1 participants
participants (1)
-
Cory Dodt