diff options
author | Wolfram Schneider <wosch@FreeBSD.org> | 1997-09-27 21:27:18 +0000 |
---|---|---|
committer | Wolfram Schneider <wosch@FreeBSD.org> | 1997-09-27 21:27:18 +0000 |
commit | 29e6e1fbbbc656fadf453c46cc237dd678a43044 (patch) | |
tree | a029f68613cb797bbae382d6d4e4aedcae29cede | |
parent | f6ccb0656a4bacf6ff16e65d80934f631f44c96a (diff) |
Notes
-rw-r--r-- | data/cgi/Makefile | 4 | ||||
-rwxr-xr-x | data/cgi/man.cgi | 16 | ||||
-rw-r--r-- | en/cgi/Makefile | 4 | ||||
-rwxr-xr-x | en/cgi/man-wrapper.cgi | 16 |
4 files changed, 36 insertions, 4 deletions
diff --git a/data/cgi/Makefile b/data/cgi/Makefile index d174d58a0c..c84fbaf074 100644 --- a/data/cgi/Makefile +++ b/data/cgi/Makefile @@ -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 diff --git a/data/cgi/man.cgi b/data/cgi/man.cgi new file mode 100755 index 0000000000..5a21b1be5a --- /dev/null +++ b/data/cgi/man.cgi @@ -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; + diff --git a/en/cgi/Makefile b/en/cgi/Makefile index d174d58a0c..c84fbaf074 100644 --- a/en/cgi/Makefile +++ b/en/cgi/Makefile @@ -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 diff --git a/en/cgi/man-wrapper.cgi b/en/cgi/man-wrapper.cgi new file mode 100755 index 0000000000..1fd1a62c00 --- /dev/null +++ b/en/cgi/man-wrapper.cgi @@ -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; + |