. Implemented cgiSetHeader() and cgiSetType()
[infodrom/cgilib] / cgiRedirect.3
1 .\" cgiRedirect - Redirect the browser somewhere else
2 .\" Copyright (c) 1998,9 by Martin Schulze <joey@infodrom.north.de>
3 .\" 
4 .\" This program is free software; you can redistribute it and/or modify
5 .\" it under the terms of the GNU General Public License as published by
6 .\" the Free Software Foundation; either version 2 of the License, or
7 .\" (at your option) any later version.
8 .\" 
9 .\" This program is distributed in the hope that it will be useful,
10 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
11 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 .\" GNU General Public License for more details.
13 .\" 
14 .\" You should have received a copy of the GNU General Public License
15 .\" along with this program; if not, write to the Free Software
16 .\" Foundation, Inc.,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 .\"
18 .TH cgiRedirect 3 "14 August 1999" "CGI Library" "Programmer's Manual"
19 .SH NAME
20 cgiRedirect \- Redirect the browser somewhere else
21 .SH SYNOPSYS
22 .nf
23 .B #include <cgi.h>
24 .sp
25 .BI "void cgiRedirect (char *" url );
26 .fi
27 .SH DESCRIPTION
28 The
29 .B cgiRedirect
30 routine redirects the browser to another
31 .IR url .
32 This mechanism may be useful to redirect invalid requests to some
33 static pages describing the policy.
34 .SH "RETURN VALUE"
35 .BR cgiRedirect ()
36 does not return a value.
37
38 .SH "AUTHOR"
39 This CGI library is written by Martin Schulze
40 <joey@infodrom.north.de>.  If you have additions or improvements
41 please get in touch with him.
42
43 .SH "SEE ALSO"
44 .BR cgiInit (3),
45 .BR cgiHeader (3).