/home/mwolske/public_html (which is a link to /content/web/users/mwolske/public_html)will be available via the URL:
http://www.isrl.uiuc.edu/~mwolskeWhile files placed in
/home/mwolske/public_html2 (which is a link to /content/web2/users/mwolske/public_html)will be available via the URL:
http://soldev.isrl.uiuc.edu/~mwolskeAnd files placed in
/home/mwolske/public_html3 (which is a link to /content/web3/users/mwolske/public_html)will be available via the URL:
http://www3.isrl.uiuc.edu/~mwolskeSome accounts are also accessible via a virtual domain. For instance,
/home/inquiry/public_htmlwould be accessible at either of the following URL's
http://www.isrl.uiuc.edu/~inquiry http://www.inquiry.uiuc.edu/
For clarity, best practice suggests you should put images in an images subdirectory and cgi's in a cgi-bin subdirectory, although nothing on our web servers enforces such a practice. For instance, a CGI called hello.cgi placed in the subdirectory
/home/mwolske/public_html3/cgi-bin/hello.cgiwould be accessed via the URL
http://www3.isrl.uiuc.edu/~mwolske/cgi-bin/hello.cgi
chmod 0775 scriptname
On www3.isrl.uiuc.edu and soldev.isrl.uiuc.edu, you can access the logs in /var/log/apache directly, so you can view the entire logs. Whenever making modifications to CGI's on these systems, please take the following steps to monitor the log file while testing:
tail -f /var/log/apache/error_log
Control-c
On www.isrl.uiuc.edu, the general logs are not directly accessible. However, we can have the logs for individual virtual domains (e.g., www.dkrc.org which is aliased to the www.isrl.uiuc.edu web server) can be written to a logs subdirectory for that account.
tail -f /var/log/apache/error_logTo stop the output of the log, type ^C (that is, hold down the control key and hit the "c" key). Scripts can fail for many reasons. By looking at the error logs, you should get a good indication of what is making it fail. If it appears to be related to the web server configuration, please email isrl-support@isrl.uiuc.edu . Include in the message the lines from the error_log related to execution of the CGI.
cd # changes to your home directory
mkdir dirname # creates a subdirectory called dirname in your home directory
chmod 777 dirname # gives the world read/write permissions on this subdirectory
You CANNOT change the ownership of the CGI and have it run as a user other than nobody. You CANNOT set the UID sticky bit and have the script run as another user. The CGI will always run as user nobody. If the script is asked to run a process that cannot be executed by user nobody, it will not run. For instance, to do a file write, the subdirectory to which the file is being written must be world writeable (and therefore world deletable). This is a critical security setting that cannot be changed.
https://www.isrl.uiuc.edu/~<username>Note the https, not http.
PERL - /usr/bin/perl (may be different on Solaris) BOURNE - /bin/sh BASH - /bin/bash CSH - /bin/csh