1. Download httpd.txt from the course web site into your home directory but save it as httpd.conf 2. Change permissions of httpd.conf to 644: % chmod 644 httpd.conf 3. Change user status to root: % su - root 4. Change root's shell to Tcsh: #/bin/tcsh 5. Change to /etc/apache directory and copy httpd.conf from your home directory (replace XX with the correct number): # cd /etc/apache # cp ~k20XX/httpd.conf . # chgrp bin httpd.conf 6. Start Apache's web server: # cd /usr/apache/bin # apachectl start 7. Exit shell and root's account (you should see the normal shell prompt) # exit # exit 8. In your home directory create a new directory public_html/cgi-bin % mkdir public_html % cd public_html % mkdir cgi-bin % cd cgi-bin 9. Place the CGI script test.pl into cgi-bin directory and make it into an executable: % chmod 755 test.pl 10. Start netscape and in the address bar type (replace XX with your number): http://localhost/~k20XX/cgi-bin/test.pl