Multimedia Classroom
Title: Technology
graphic
Button Home
Button About Us
Button For Alumni
Accounts, Access & Security
Computer Store & Service Center
E-Mail
HelpDesk
Printing
Software & Documentation
Technology Training
VPN
Virus Protection
Voicemail
Web Publishing
WesStation/Mail Services
Wireless
Button For Faculty & Staff
Button For Student
Button Teaching & Research
WEB PUBLISHING
Overview
Academic Departments
Administrative Departments
Course Web Sites
Personal Web Sites
Project Web Sites
Student Groups
------
References
Style Guides
Web Editors
Web Widgets
Web 2.0
Test
 

CGI-wrap on www

Setting up the Directory

To set up your www account for CGIwrap, create a subdirectory called cgi-bin within your home directory. Do this by navigating to your home directory and typing
    mkdir cgi-bin
All CGI scripts must be placed in this cgi-bin subdirectory.

Setting the Permissions

Make sure that the cgi-bin directory has the correct permissions. It needs to be executable, so type
    chmod 755 cgi-bin
to make the cgi-bin directory executable.

Also remember that the scripts themselves need to be set as executable so you'll need to type

    chmod 755 scriptname
(where scriptname is the name of your CGI script) on each of your scripts so that they'll function properly.

Calling the CGI script from your HTML form

Using CGIwrap, this is how your scripts must be called in the ACTION tag of your form:
    http://www.wesleyan.edu/cgi/userid/scriptname note:userid is your condor account name and scriptname is the name of your cgi script

Debugging your CGI script

For debugging information go to the URL:
    http://www.wesleyan.edu/cgid/userid/scriptname note:userid is your www account name and scriptname is the name of your cgi script


Security Features

Cgiwrapper is software designed to limit the damage a user could potentially do to the system through a CGI script. Cgiwrapper runs CGI scripts as the owner of the script, rather than as the user nobody which may have more permissions.

CGIwrap test

The following is an example of a cgiwrapper running the script as its owner.

http://condor.wesleyan.edu/cgi/userid/testme.pl

Check out the debugging info at

 
graphic
graphic
graphic