Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cgi_redirect_uri(3) [debian man page]

cgi_redirect_uri(3)						     cgi/cgi.h						       cgi_redirect_uri(3)

NAME
cgi_redirect_uri - send an HTTP 302 redirect response SYNOPSIS
#include <cgi/cgi.h> void cgi_redirect_uri (CGI *cgi, const char *fmt, ...) ATTRIBUTE_PRINTF(2,3); ARGUMENTS
cgi - cgi struct fmt - printf style format with args DESCRIPTION
cgi_redirect_uri will redirect the user to another page on your site. This version takes the full URL, including proto- col/domain/port/path. As with all printf style commands, you should not call this with arbitrary input that may contain % characters, if you are forwarding something directly, use a format like cgi_redirect (cgi, "%s", buf) RETURN VALUE
None SEE ALSO
cgi_debug_init(3), cgi_parse(3), cgi_destroy(3), cgi_js_escape(3), cgi_html_escape_strfunc(3), cgi_register_strfuncs(3), cgi_output(3), parse_rfc2388(3), cgi_url_validate(3), open_upload(3), cgi_cs_init(3), cgi_url_escape_more(3), cgi_html_strip_strfunc(3), cgi_neo_error(3), cgi_redirect(3), cgi_filehandle(3), cgi_register_parse_cb(3), cgi_url_escape(3), cgi_init(3), cgi_redirect_uri(3), cgi_cookie_clear(3), cgi_url_unescape(3), cgi_vredirect(3), cgi_display(3), cgi_html_ws_strip(3), cgi_error(3), cgi_cookie_set(3), cgi_text_html_strfunc(3), cgi_cookie_authority ClearSilver 12 July 2007 cgi_redirect_uri(3)

Check Out this Related Man Page

BB-REPLOG.CGI(1)					      General Commands Manual						  BB-REPLOG.CGI(1)

NAME
bb-replog.cgi - CGI program to report service availability log SYNOPSIS
bb-replog.cgi DESCRIPTION
bb-replog.cgi is invoked as a CGI script via the bb-replog.sh CGI wrapper. Based on the parameters it receives, it generates an availabil- ity report for a specific host-service combination for the requested time-period. The availability report includes a calculation of the availability percentage (split out on percent green, yellow, red time), and an eventlog for the period listing the status changes that have occurred to allow for drill-down to the test reports that indicate a problem. Access to the individual historical status logs go via the hobbitsvc.cgi(1) CGI script. bb-replog.cgi is passed a QUERY_STRING environment variable with the following parameters: HOSTSVC (the host and service to report on) STYLE (report style: "crit", "non-crit", "all") ST (starttime in seconds since 1-1-1970 00:00 UTC) END (endtime in seconds since 1-1-1970 00:00 UTC) The following non-standard parameters are handled by the bbgen version of bb-hist.cgi: IP (IP address of host - for display purposes only) REPORTTIME (the REPORTTIME: setting for this host) WARNPCT (the WARNPCT: setting for this host) The REPORTTIME and WARNPCT options are taken from the bb-hosts(5) definition for the host, or the defaults are used. These modify the availability calculation to handle reporting against agreed Service Level Agreements re. the time of day when the service must be avail- able, and the agreed availability level. OPTIONS
--env=FILENAME Loads environment from FILENAME before executing the CGI. SEE ALSO
bb-hosts(5), hobbitserver.cfg(5), hobbitsvc.cgi(1) Xymon Version 4.2.3: 4 Feb 2009 BB-REPLOG.CGI(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

chmod and cgi correlation

How much do chmod settings affect cgi scripts?? I have a "webmaster" at my work that says I cannot change the permissions on the cgi scripts, and that they work with only certain permissions. They are set for 644, I want to change them to 775 and put her in her own group, like she should be, not... (6 Replies)
Discussion started by: bigmacc
6 Replies

2. UNIX for Dummies Questions & Answers

How??

Hi, i have a server, and i would like to upload a .cgi file from my computer. How do i do this? Thanks (4 Replies)
Discussion started by: turbohacker
4 Replies

3. Shell Programming and Scripting

Perl and refresh button, save twice?

Hi guys, I am writing a simple script save_me.cgi that can save the data in form.html into a txt (data.txt)file. But when user click "refresh" button one the browser on page save_me.cgi, the data will be save again in the data.txt. could someone help me on this issue? a studpid way... (3 Replies)
Discussion started by: gusla
3 Replies

4. UNIX for Dummies Questions & Answers

Running cgi

I am learning about cgi and having lots of trouble. If I am on a server cs-srv2.(schoolname).edu and I want to run cgi script what would I need to do? By the way, I see $ on the command line when my server opens , if that makes a difference. I created a cgi-bin directory and put it in there. The... (3 Replies)
Discussion started by: CSGUY
3 Replies

5. UNIX for Dummies Questions & Answers

Parsing query string from cgi

Im having trouble getting the string I get from a cgi form to only be the value entered. I need to use that value as an argument but cant use it in the way it is returned. I get "bustype = restaurant" but I want just "restaurant" because i am going to be using that value as an argument in a csh... (3 Replies)
Discussion started by: am2005
3 Replies

6. Solaris

executing cgi programs in solaris(B89) needed urgent help,pls!

Hi all, I am trying to execute cgi scripts on solaris, but everytime i get a internal server error... The syntax of my .cgi script is correct as ive checked.. Steps i followed 1.started apache 2.The UNIX and Linux Forums - Learn UNIX and Linux from Experts (in opera) 3.places my cgi scripts... (7 Replies)
Discussion started by: wrapster
7 Replies

7. Shell Programming and Scripting

Doubt in the .cgi file

Hi, I have attached a .cgi file. Guys could you please let me know what this script is exactly executing with perl. As per as i know it seems that this file is executing to send mails in my box. I am not good in perl. Please check and let me know that it doing in my box. (5 Replies)
Discussion started by: gsiva
5 Replies

8. Shell Programming and Scripting

Run system command in perl cgi

Hi guys, got a problem with a perl cgi script over here. I need it to run a system command to get the status of a process. Unfortunately the process is owned by a specific user and only this user can get its status. So i tried running the command from the perl cgi with "su", but then i get the... (12 Replies)
Discussion started by: polki
12 Replies

9. Shell Programming and Scripting

simple cgi script not working

hi all, i have installed simple cgi-script under apache/cgi-bin directory hello.cgi #!/usr/bin/perl print "Content-type: text/html\n\n"; print <<END_HTML; <html> <head></head> <body>Hello, World!</body> </html> END_HTML when i hit the url... (6 Replies)
Discussion started by: raghur77
6 Replies

10. Web Development

Need help with cgi and so on

Hello all, i`m new here and new in programming with cgi. But i need it for my running project. I`ve googled half a week with no success. All i need is to run an .sh-file via cgi. My file is stored in /home/bots/ but if i try #!/bin/sh echo 'Content-type: text/html' echo echo... (5 Replies)
Discussion started by: cryp0r
5 Replies

11. Shell Programming and Scripting

redirect frintf to a variable

how to redirect printf to a variable (8 Replies)
Discussion started by: robo
8 Replies

12. Web Development

problem with exporting vairable from one perl cgi to another perl cgi script while redirecting.

Can anyone tell me how to export a variable from one perl CGI script to another perl cgi script when using a redirect. Upon running the login.pl the user is prompted to enter user name and password. Upon entering the correct credentials (admin/admin) the user is redirected to welcome page. My... (3 Replies)
Discussion started by: Arun_Linux
3 Replies

13. UNIX for Dummies Questions & Answers

Webserver permission denied error

Hello, I was trying a perl-cgi tutorial and saving the data from online form to a file named (guests.txt). I am using the localhost port 80 for practice. My page file "guestbook.html" is working as I saw the online form. After filled out the blanks and submit, I was expecting to see the result... (3 Replies)
Discussion started by: yifangt
3 Replies

14. Shell Programming and Scripting

Not able to copy the file in perl cgi script

Hello experts, I am facing an very typical problem and hope the issue can be solved. I have a page download.cgi in /cgi-bin folder. use CGI; use CGI::Carp qw ( fatalsToBrowser ); use File::Copy copy("C:\\Program Files\\Apache Software... (8 Replies)
Discussion started by: scriptscript
8 Replies

15. Shell Programming and Scripting

Help with copying from one drive to another with cgi & ksh script

Hi I was hoping some one could help me with a problem I have with a .cgi script I am running in the korn shell. I have created a web form that user fill out to gather information that I use a .cgi and sed script to translate into a xml file which is further processed by another program. All is... (6 Replies)
Discussion started by: Paul Walker
6 Replies