Sponsored Content
Top Forums Programming CGI script is returning raw text instead of getting processes Post 302951123 by Smiling Dragon on Sunday 2nd of August 2015 10:47:14 PM
Old 08-02-2015
Your config looks pretty good to me... Are you certain that it's actually reading that scriptalias? Check by first trying to go to /ibmcognos/cgi-bin-foo/test.cgi (should get a 404) then update the alias to match and try again.

Also make sure you've got the cgi module loaded (LoadModule/AddModule cgi_module)
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

CGI passing arrays/hashes to another CGI script

If I have a Perl CGI script (script01), which fills an array(s) with information and outputs a HTML page with a link to another CGI page (script02); is there anyway to pass the array(s) from "script01" to "script02" when the page visitor clicks the link? Hope that makes sense! :) (2 Replies)
Discussion started by: WIntellect
2 Replies

2. UNIX for Advanced & Expert Users

Raw text to IP Printer

We were printing to a serial laser printer with all the HP codes to generate a form (i.e. lines, boxes, etc.) We are switching to an IP printer and we can no longer print to the device (i.e. cp text /dev/tty11). It looks like we have to use the lp spooler now. When we do this the codes are ignored... (0 Replies)
Discussion started by: jeffbugfree
0 Replies

3. UNIX for Dummies Questions & Answers

Returning text after find

Hey guys, I'm sure someone will have asked this before but I searched for ages and couldn't find a post. Anyhow, I have a datafile and I want to search for "UserID : " in it and then return the characters following this until it hits a pipe. e.g. Running the comand against the following... (7 Replies)
Discussion started by: dlam
7 Replies

4. 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

5. Shell Programming and Scripting

Perl cgi pages out of cgi-bin folder in WINDOWS

Hi team, I have a typical problem with cgi pages in apache webserver in WINDOWS I am able to execute(display) the pages that are saved in cgi-bin folder. But I am not able to execute the pages stored in htdocs or other folder other than cgi-bin folder. Could anyone please let me know how... (1 Reply)
Discussion started by: scriptscript
1 Replies

6. Web Development

How to get input text boxes populated / perl cgi?

Hi, I know how to populate a combo box or a drop down list box which I do as under : Query that gets the data for the drop down box : $qry = "select \"EmployeeID\" AS empid, \"FirstName\"::text || ' ' ||\"LastName\"::text as name from \"Employees\""; $qq =... (1 Reply)
Discussion started by: terrykhatri531
1 Replies

7. Shell Programming and Scripting

Finding pattern in a text file and returning a part of the word

Dear All, assume that we have a text file or a folder of files, I want to find this pattern followers*.csv in the text file , and get * as the output. There are different matches and * means every character. Thank you in advance. Best, David (1 Reply)
Discussion started by: davidfreed
1 Replies

8. Shell Programming and Scripting

Re-aligned text file into one raw

Hi, Anyone can help on how to re-aligned the data into one raw; Input Text File: TESTA Carbon A China 06/28/2016 Active Vol. 8210, No. 2048, New Era 02/25/2010 ... (1 Reply)
Discussion started by: fspalero
1 Replies
cgi_destroy(3)							     cgi/cgi.h							    cgi_destroy(3)

NAME
cgi_destroy - deallocate the data associated with a CGI SYNOPSIS
#include <cgi/cgi.h> void cgi_destroy (CGI **cgi); ARGUMENTS
cgi - a pointer to a pointer to a CGI struct DESCRIPTION
cgi_destroy will destroy all the data associated with a CGI, which mostly means the associated HDF and removal of any files that were uploaded via multipart/form-data. (Note that even in the event of a crash, these files will be deleted, as they were unlinked on creation and only exist because of the open file pointer) RETURN VALUE
cgi - NULL on output 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_destroy(3)
All times are GMT -4. The time now is 09:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy