changelog shortlog tags branches changeset file revisions annotate raw help

Mercurial > hg > plan9front / rc/bin/rc-httpd/handlers/error

revision 4342: 74455da2d86a
parent 2357: bb9d74a55b65
child 7274: 40949afe3df8
     1.1--- a/rc/bin/rc-httpd/handlers/error
     1.2+++ b/rc/bin/rc-httpd/handlers/error
     1.3@@ -19,6 +19,11 @@ fn do_error{
     1.4 	'
     1.5 }
     1.6 
     1.7+fn 401{
     1.8+	do_error '401 Unauthorized' \
     1.9+	'The requested path '^$"location^' requires authorization.'
    1.10+}
    1.11+
    1.12 fn 404{
    1.13 	do_error '404 Not Found' \
    1.14 	'The requested path '^$"location^' was not found on this server.'