# stuff excised
ns_param NotFoundResponse "/global/file-not-found.html"
and then you simply modify
Note you can obviously use a tcl file there if you want to generate a non-static page. You need to have the ns_param file name match what's in the /www/global/ directory, of course.