place the errorpage.html file in a directory called conf at the same level as cgi-bin
touch a file called conf/redirect.dbf
This file can contain locations of files and their new locations.
example say you have a page http://www.yoursite.com/movedpage.html that has moved to say http://www.yoursite.com/newdir/movedpage.html you would place a line in the redirect.dbf file that would read:
/movedpage.html(TAB)http://www.yoursite.com/newdir/movedpage.html
replace the (TAB) with a TAB. and press return at the end of the line.
and when you go to http://www.yoursite.com/movedpage.html it will redirect you to http://www.yoursite.com/newdir/movedpage.html simple!