Home > Help Files > Web > CGI

Help Files: Web Topics: CGI


On some systems, creation of CGI programs in personal home directories is not permitted. On those systems CGI programs are submitted to system personnel for approval before they are placed into the common CGI-bin.

Here we allow creation of CGI scripts in your home directory. We have described how to do this below. For security reasons, however, we may search the system for cgi-scripts and inspect the code.

To be able to run your own CGI scripts, you need to

  • name your CGI script files with the ``.cgi'' suffix, e.g.

    my-cgi-script.cgi

  • make your CGI scripts readable and executable by everyone, e.g. by running

    chmod a+rx my-cgi-script.cgi

 


Comments to consult@newton.berkeley.edu
© 1998-2009 UC Regents