Forum OpenACS Q&A: Re: Error pages and Host Node Mapping

Collapse
Posted by Torben Brosten on
Example 404 error return ( '<' removed from tags so they aren't blocked/rendered ).

< %
ns_return 404 text/html {<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">;
html>
head>
title>http 404 page not found/title>
/head>
body>
p>page not found (http 404 error)/p>

p>The page you requested is not available. /p>
p>Try from the a href="/">Home page/a>./p>

/body>/html>
}
% >

Collapse
Posted by Ryan Gallimore on
This is fine for a simple error page but it can't be templated with themes.