From 71f4cc84c3788c6904ede17cd626a9ca9c349e3b Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sun, 30 Jan 2005 00:57:53 +0000 Subject: initial commit into repository --- (limited to 'htdocs/handlers/exception_prod') diff --git a/htdocs/handlers/exception_prod b/htdocs/handlers/exception_prod new file mode 100644 index 0000000..9768623 --- a/dev/null +++ b/htdocs/handlers/exception_prod @@ -0,0 +1,52 @@ +<%code> + /* vim:set ft=sitecing: */ + __SCIF->headers.clear(); /* reset all headers possibly set by the component throwing an exception. */ + __SCIF->out->seekp(0); /* rollback the output that the exceptional component may have produced. */ + /* set out headers */ + __SCIF->headers["Content-Type"] = "text/html"; + __SCIF->headers["Status"] = "500 server-side exception"; + __SCIF->headers["Pragma"] = "no-cache"; + + + + + Server-side exception + + + +

server-side exception

+

Something has gone really wrong with the server. Feel free to report the + incident to " title="e-mail + server administrator">webmaster.

+
Powered by site-C-ing.
+ + -- cgit v0.9.0.2