10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello,
I want to run this script on my CentOS 6 via browser :
________________________________________________________________________________________________
#!/bin/sh
echo Username?
read MY_NAME
echo Provisional file name?
read MY_FILE
echo File NAME you want to save?
read MY_FILE2... (16 Replies)
Discussion started by: juta2020
16 Replies
2. Shell Programming and Scripting
hi folks,
I am trying to download xlsx from cgi page in browser but not sure where I made a mistake.
the cgi script contains the code for creating xlsx and just by clicking on the image I should be able to
#!/usr/bin/perl -w
use Excel::Writer::XLSX;
use DBI;
use DBD::mysql;
use CGI;... (1 Reply)
Discussion started by: scriptscript
1 Replies
3. Shell Programming and Scripting
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
4. Shell Programming and Scripting
Hi I have some simple script within the context of a cgi script that create a file to write to. If I run the script from the command line as root the file is created with no issue. However when I run the script from a web page with the apache account, it dies. The code lines are:
sub... (3 Replies)
Discussion started by: larryjmoon
3 Replies
5. Shell Programming and Scripting
Hi, I want to insert in a page a .html button that - once it is clicked - opens a save file dialog box by using perl CGI .
I know that to create a link to do that I've done :
print $cgi->p ( { -class => 'linc' },);I want to do something similar for a download button (0 Replies)
Discussion started by: black_fender
0 Replies
6. Shell Programming and Scripting
Hey Guys,
I need to copy some files from my Apache server to SMB share ...
copy $file,"/Volumes/v1/x/test/$datestamp$name$suffix"
Unfortunately this command when executed from Apache/cgi-bin is not able to access mounted volumes .. is there anything that can be done about that ... Can... (1 Reply)
Discussion started by: NDxiak
1 Replies
7. Shell Programming and Scripting
Hi Everyone,
I am facing the problem to create the cookie in CGI (bash script).
Is it possible can create in cgi? or javascript better?
Anyone got the sample to create the cookie in cgi(bash script)?
Just the login will do ->> USERNAME and PASSWORD
after create how to store into the... (2 Replies)
Discussion started by: ryanW
2 Replies
8. Shell Programming and Scripting
hello.
i hav accepted name of directory from user through a form.now i need to create a directory under cgi-bin of that name.I am not able to do so.n help is required (12 Replies)
Discussion started by: raksha.s
12 Replies
9. Solaris
Hi All,
Sorry if the question is trivial for you but, I am new to Apache (2.0.63) and am trying to figure out how to display my 400.cgi. Here is what I have in httpd.conf
servername testing
DocumentRoot "/usr/local/apache2/htdocs"
ErrorDocument 400 /cgi-bin/badrequest-400.cgi
Here is... (0 Replies)
Discussion started by: afadaghi
0 Replies
10. Shell Programming and Scripting
Hi,
1. How to Write csh CGI-BIN script which return a web page which show the environment of the executed script ?
2. How do we read command line on csh and ksh ?
Thank's (2 Replies)
Discussion started by: 7eleven
2 Replies
BBMESSAGE.CGI(8) System Manager's Manual BBMESSAGE.CGI(8)
NAME
bbmessage.cgi - CGI utility used for proxying Xymon data over HTTP
SYNOPSIS
bbmessage.cgi
DESCRIPTION
bbmessage.cgi(8) is the server-side utility receiving Xymon messages sent by the bb(1) utility over an HTTP transport. The bb utility nor-
mally sends data over a dedicated TCP protocol, but it may use HTTP to go through proxies or through restrictive firewalls. In that case,
the webserver must have this CGI utility installed, which takes care of receiving the message via HTTP, and forwards it to a local Xymon
server through the normal Xymon transport.
The CGI expects to be invoked from an HTTP "POST" request, with the POST-data being the status-message. bbmessage.cgi simply collects all
of the POST data, and send it off as a message to the Xymon daemon running on IP 127.0.0.1. This destination IP currently cannot be
changed.
The CGI will return any output provided by the Xymon daemon back to the requestor as the response to the HTTP POST, so this allows for all
normal Xymon commands to work.
SECURITY
bbmesage.cgi will only send data to a Xymon server through the loopback interface, i.e. IP-address 127.0.0.1.
Access to the CGI should be restricted through webserver access controls, since the CGI provides no authentication at all to validate
incoming messages.
If possible, consider using the bbproxy(8) utility instead for native proxying of Xymon data between networks.
SEE ALSO
bb(1), bbproxy(8), xymon(7)
Xymon Version 4.2.3: 4 Feb 2009 BBMESSAGE.CGI(8)