Apache CGI 404 (missing page) Handler Suite Version: 1.0
Redirection system For Apache in PERL

Project Home page
Mac OS X package built by Chris Roberts
Apache404handler.sit Version: v1.0


Place this perl script in your cgi-bin dir and un-comment (remove the #) the following line in your Apache httpd.conf file:
#ErrorDocument 404 /cgi-bin/missing_handler.pl

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!