Changes

Jump to navigation Jump to search
289 bytes added ,  11:27, 20 June 2013
<location>/error404</location>
</error-page>
</pre>
 
An additional RESTXQ can then be defined to handle the caught error:
 
<pre class="brush:xquery">
declare %output:method("html") %rest:path("error404")
function rest:error404()
{
<html>
<body>It may come as a shock, but no page was found under this URL.</body>
</html>
};
</pre>
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu