The Toolkit for Online Communities
18808 Community Members, 0 members online, 1949 visitors today
Log In Register
OpenACS Home : Forums : .LRN Q&A : File not found page in 3.x : One Message

Forum .LRN Q&A: Re: File not found page in 3.x

Posted by Stan Kaufman on
In your config file nsd.tcl (or whatever you've named it), the 404 file is set thus:

ns_section "ns/server/${server}"
# 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.