06-19-2014
Installing CGI
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
The objective of this project is to learn how to configure the apache web server. The goal is to make cgi work on the webserver that we just installed.
2. Relevant commands, code, scripts, algorithms:
httpd.conf file
3. The attempts at a solution (include all code and scripts):
I've looked at the httpd.conf file and researched on apache.org, but have had very little success and my instructor is very unwilling to hep at all.
4. Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course):
University of Illinois, O'Reilly School of Technology, Kelly Hoover, Unix 1: The Unix file system
Note: Without school/professor/course information, you will be banned if you post here! You must complete the entire template (not just parts of it).
Please help! I have absolutely no idea how to do this and have done a lot of legwork on apache's website and other sites trying to understand how to do this, but I'm not having success. My instructor refuses to give any help other than restate the question again and again, so I really appreciate feedback. Thanks!
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. Solaris
I'm having trouble installing mod_fastcgi.so, that is I'm having trouble compiling it for a start.
it seems every time i use the apxs command I get these errors;
gcc: unrecognized option `-Xa'
gcc: unrecognized option `-Xa'
gcc: unrecognized option `-KPIC'
gcc: language ildoff not recognized... (0 Replies)
Discussion started by: fishman2001
0 Replies
4. Linux
Hi all,
I wanted to install the latest version of firefox 2 but it seems when I attempt to install it, it seems to be saying it is looking for c libraries version 2.3? I believe I currently have an older version of the c libraries. I am currently running Sun's JDS Linux 2003. My Mozilla web... (1 Reply)
Discussion started by: scriptingmani
1 Replies
5. 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
6. Ubuntu
Hi
I have dual operating system i.e Win XP and KUBUNTU. Now my windows XP is corrupted and i want to reinstall Win XP. So i just want to know Shall i have to reinstall Linux also or i can only reinstall win xp without affecting linux installation.
Thanks
Sarbjit (3 Replies)
Discussion started by: sarbjit
3 Replies
7. 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
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 DEBIAN
upsstats.cgi
UPSSTATS.CGI(8) NUT Manual UPSSTATS.CGI(8)
NAME
upsstats.cgi - Web-based UPS status viewer
SYNOPSIS
upsstats.cgi
Note
As a CGI program, this should be invoked through your web server. If you run it from the command line, it will either complain about
unauthorized access or spew a bunch of HTML at you.
DESCRIPTION
upsstats.cgi uses template files to build web pages containing status information from UPS hardware. It can repeat sections of those
template files to monitor several UPSes simultaneously, or focus on a single UPS.
These templates can also include references to upsimage.cgi(8) for graphical displays of battery charge levels, voltage readings, and the
UPS load.
ACCESS CONTROL
upsstats will only talk to upsd(8) servers that have been defined in your hosts.conf(5). If it complains that "Access to that host is not
authorized", check that file first.
TEMPLATES
The web page that is displayed is actually a template containing commands to upsstats which are replaced by status information. The default
file used for the overview is upsstats.html.
When monitoring a single UPS, the file displayed is upsstats-single.html.
The format of these files, including the possible commands, is documented in upsstats.html(5).
FILES
hosts.conf(5), upsstats.html(5), upsstats-single.html
SEE ALSO
upsimage.cgi(8)
Internet resources:
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
Network UPS Tools 05/22/2012 UPSSTATS.CGI(8)