Running CGI Applications on www.fiu.edu

Users are now able to run cgi applications out of their unix home directories. In this implementation, the executing program runs under the ownership of the program owner, rather than the httpd owner.
CGI scripting is recommended only for advanced HTML users who have some programming experience. CGI scripts can be written in any language that can be run under Solaris 2.5. Source code must be compiled on one of the Solaris-based unix compute servers (serss1, solix, xlab1).

To create your own CGI programs, you must:

If this cgi capability it is found to create problems, or leads to abuse of the web server, it will be removed.

The perl path should be listed as:

#!/home/sol2/bin/perl

The path for sending email via the command line is:

/usr/local/bin/ucbmail

When testing, you should be able to run the script from the command line on solix.

The following requirements are made on all cgi scripts written at FIU:

  1. The command that the request wishes to execute must not contain a /.
  2. The current working directory must be a directory.
  3. The current working directory must not be writable by group or other.
  4. The command being executed cannot be a symbolic link.
  5. The command being executed cannot be writable by group or other.
  6. The command being executed cannot be a setuid or setgid program.
  7. The target UID and GID must be a valid user and group on this system.
  8. The target UID and GID to execute as, must match the UID and GID of the directory.
  9. The target execution UID and GID must not be the privledged ID 0.

Note: Users who wish to create on line forms or other CGI applications will still need to understand form development and CGI programming. W3C provides additional information about CGI.
Yahoo also provides good links.
Application developers should also pay attention to security issues.
Please do not contact the webmaster to help debug your programs.

Can I use Server-Side Includes?

No.

Can I use FrontPage Extensions?

No.


[ FIU WWW Help ]

maintained by wsg_support