If you have been doing 4D Web Development, you will have seen some of the default error pages that 4D shows for things like "Page not found." The look of these pages may not match the look of your site. You can change these error pages, however. You can see all of the HTML pages in the 4D Application using ResEdit. You can copy these resources into your 4D structure file and change them there. Here is an example of some 4D Code that can be used to change the resource contents.
`$1: Longint - Html Resource ID # to Set
`$2: Text - HTML to set for Resource
$hStructureFile:=Open resource file(Structure file)
TEXT TO BLOB($tHTML;$xData;Text without length )
CLOSE RESOURCE FILE($hStructureFile)