Redirect FreeBSD man script.

This commit is contained in:
Wolfram Schneider 1997-09-27 21:27:18 +00:00
parent f6ccb0656a
commit 29e6e1fbbb
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=2010
4 changed files with 36 additions and 4 deletions

View file

@ -1,10 +1,10 @@
# $Id: Makefile,v 1.7 1997-09-19 20:45:48 wosch Exp $
# $Id: Makefile,v 1.8 1997-09-27 21:27:17 wosch Exp $
DATA= ftp.mirrors
CGI= ftp.cgi gallery.cgi mirror.cgi cgi-lib.pl cgi-style.pl
CGI+= search.cgi cvsweb.cgi query-pr.cgi query-pr-summary.cgi
CGI+= dosendpr.cgi freebsd.def html.pl reg.cgi missing_handler.cgi
CGI+= ports.cgi pds.cgi
CGI+= ports.cgi pds.cgi man.cgi
.SUFFIXES: .C .cgi

16
data/cgi/man.cgi Executable file
View file

@ -0,0 +1,16 @@
#!/usr/bin/perl
# Copyright (c) Wolfram Schneider, Berlin. Sep 1997.
#
# redirect FreeBSD man script
#
# $Id: man.cgi,v 1.1 1997-09-27 21:27:18 wosch Exp $
$_ = $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;

View file

@ -1,10 +1,10 @@
# $Id: Makefile,v 1.7 1997-09-19 20:45:48 wosch Exp $
# $Id: Makefile,v 1.8 1997-09-27 21:27:17 wosch Exp $
DATA= ftp.mirrors
CGI= ftp.cgi gallery.cgi mirror.cgi cgi-lib.pl cgi-style.pl
CGI+= search.cgi cvsweb.cgi query-pr.cgi query-pr-summary.cgi
CGI+= dosendpr.cgi freebsd.def html.pl reg.cgi missing_handler.cgi
CGI+= ports.cgi pds.cgi
CGI+= ports.cgi pds.cgi man.cgi
.SUFFIXES: .C .cgi

16
en/cgi/man-wrapper.cgi Executable file
View file

@ -0,0 +1,16 @@
#!/usr/bin/perl
# Copyright (c) Wolfram Schneider, Berlin. Sep 1997.
#
# redirect FreeBSD man script
#
# $Id: man-wrapper.cgi,v 1.1 1997-09-27 21:27:18 wosch Exp $
$_ = $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;