-
Visit the Request CGI Form to activate your personal CGI account.
This will create a cgi-bin directory and set the appropriate permissions on that directory in your AFS account.
Note: It can take up to 24 hours for your CGI account to become fully activated. Certain aspects of account creation will fail if you are over your quota limit.
-
Install your CGI programs in the cgi-bin directory and set the file permissions on those programs by running the following command at the Unix command line:
chmod 755 ~/cgi-bin/program-name
-
Now you should be able to access your CGI programs by going to the appropriate URL. For instance:
http://www.stanford.edu/~jdoe/cgi-bin/program-name
We put two sample scripts called
printenv.pl
andphpinfo.php
in your cgi-bin directory when your CGI account is activated . You will know that your account is working correctly if you are able to run these scripts. For instance, if your username is jdoe, you should be able visithttp://www.stanford.edu/~jdoe/cgi-bin/printenv.pl
or
http://www.stanford.edu/~jdoe/cgi-bin/phpinfo.php
without any errors.
Personal CGI Service
Last modified