The University of Texas at Austin- What Starts Here Changes the World
Services Navigation


Running CGI Scripts

ITS UNIX staff has installed CGIwrap on the UTS and CCWF systems. This enables Web publishers on these systems to execute CGI scripts under their own user id (uid).

In the examples on this page, the scriptname is "helloworld.cgi," the username is "twmaint," and the server is "uts.cc.utexas.edu."

To run a script saved in your cgi-bin directory, enter the following URL in your Web browser:

http://server/cgi-bin/cgiwrap/username/scriptname
Where server is the server you are using, username is your username, and scriptname is the name of your script.

Using the scriptname "helloworld.cgi," the username "twmaint," and the server "uts.cc.utexas.edu," the URL would be:

http://uts.cc.utexas.edu/cgi-bin/cgiwrap/twmaint/helloworld.cgi

If the same user were to use CCWF, the URL would be:

http://ccwf.cc.utexas.edu/cgi-bin/cgiwrap/twmaint/helloworld.cgi

If everything worked properly, you should see a blank screen with the words "Hello World!" in the top left corner (see screen shot below). Otherwise, look for the error on the Debugging CGI Scripts page.


screen shot of the resulting output for helloworld.cgi

 

 

 


  Updated 2006 August 14
  Comments to TeamWeb