[NAME] [SYNOPSIS] [DESCRIPTION] [SEE ALSO] [BUGS / DEFICIENCIES] [AUTHOR]
redirect(8) MAINTENANCE COMMANDS redirect(8)
redirect - simple redirection CGI program
Three steps to set up a redirection:
Note: this is designed for thttpd and using it with other web servers may require some hacking. A possible gotcha is with the symbolic link from the old file pointing at this script - servers other than thttpd may not allow that link to be run as a CGI program, because they don't check the link to see that it points into the allowed CGI directory.
It would be really cool to have this program look for the .redirects file in the same directory as the file being redirected, instead of in the binaries directory. Unfortunately, this appears to be impossible with the information CGI gives, plus the non-standardized but widespread practice of running CGI programs in the directory where the binary lives. Perhaps CGI 1.2 will address this.
Copyright (C) 1995 by Jef Poskanzer <firstname.lastname@example.org>. All rights reserved.