doc/en/cgi/man-wrapper.cgi
1998-06-08 08:50:37 +00:00

18 lines
401 B
Perl
Executable file

#!/usr/bin/perl
# Copyright (c) Wolfram Schneider, Berlin. Sep 1997.
#
# redirect FreeBSD man script
#
# $Id: man-wrapper.cgi,v 1.2 1998-06-08 08:50:37 wosch Exp $
exec('/usr/local/www/bsddoc/bin/man.cgi');
$_ = $ENV{'QUERY_STRING'};
$_ = '?' . $_ if $_;
print "Window-target: _top\n";
print "Location: http://www.de.freebsd.org/de/cgi/man.cgi$_\n";
print "Content-type: text/plain\n\n";
exit 0;