04-30-2005
I cant get into contact with him. He emailed me the cgi file so I know we can run them. He just never let ne know where to put them. I created the cgi-bin in the public_html directory and tried to see it with "cs-srv2.universityname.edu/home/myusername/public_html/cgi-bin/env.cgi" but it doesnt work. Am I referencing it correctly?
Last edited by CSGUY; 04-30-2005 at 03:45 PM..
Reason: Used unwanted info
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am having trouble running my perl cgi on the Internet.
After i put the cgi file into the public_html directory and try to browse it on the internet, it returns me the exact content of the cgi file.
Is the file permission 755 for the cgi file correct?
My path to perl is something like ... (2 Replies)
Discussion started by: vince
2 Replies
2. Shell Programming and Scripting
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
3. Shell Programming and Scripting
hii, i have a cgi script file which may take some hours to complete. The script logs the output and mails the user. so the browser need not be open for the output. But currently the script dies off the instant the browser is closed or other pages are viewed. Is there a way out .. ?
i have... (0 Replies)
Discussion started by: damn_bkb
0 Replies
4. 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
5. Web Development
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
6. Web Development
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
7. Shell Programming and Scripting
Hi,
Am unfamiliar with using CGI modules in Perl.
Though i checked in few sites about CGI , i dint get a clear idea.
Can anyone please explain me the purpose of these statements, it ll be very helpful to me
#!/usr/bin/perl
use CGI qw/:standard/;
use Storable;
use Data::Dumper;
my... (1 Reply)
Discussion started by: irudayaraj
1 Replies
8. 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
9. Shell Programming and Scripting
Hi All,
I have written an cgi perl script that displays an image(Excel image) and when clicked on that Image I need to download a excel sheet.
I made sure that excel sheet exists in the folder with the given name but still I am not able to download the sheet.
print "<center><table... (2 Replies)
Discussion started by: scriptscript
2 Replies
10. Shell Programming and Scripting
Hi Team,
I am trying to connect to database(succeeded ) and print the records on the browser using while loop. But the elements of array are not displayed instead while loop is displayed directly. Instead of the below I can embed html statements in print but I am looking for the below style as I... (1 Reply)
Discussion started by: scriptscript
1 Replies
LEARN ABOUT LINUX
cachemgr.cgi
cachemgr.cgi(8) System Manager's Manual cachemgr.cgi(8)
NAME
cachemgr.cgi - squid HTTP proxy manager interface
SYNOPSIS
http://your.server/cgi-bin/cachemgr.cgi
DESCRIPTION
The cache manager (cachemgr.cgi) is a CGI utility for displaying statistics about the Squid HTTP proxy process as it runs. The cache man-
ager is a convenient way to manage the cache and view statistics without logging into the server.
FILES
./cachemgr.conf
@DEFAULT_CACHEMGR_CONFIG@
The access configuration file defining which Squid servers may be managed via this cachemgr.cgi program. Each line specifies a
server:port followed by an optional description
The server name may contain shell wildcard characters such as *, [] etc. A quick selection dropdown menu is automatically con-
structed from the simple server names.
Specifying :port is optional. If not specified then the default proxy port is assumed. :* or :any matches any port on the target
server.
SECURITY
cachemgr.cgi calls the requested server on the requested port using HTTP and returns a formatted version of the response. To avoid abuse it
is recommended to configure your web server to restrict access to the cachemgr.cgi program.
Configuration examples for many common web servers can be found in the Squid FAQ.
SEE ALSO
squid(8)
The Squid FAQ, Chapter 9 The Cache Manager
Squid Web Proxy 3.1.20 cachemgr.cgi(8)