In the event that one wants to make a directory of webpages on the CS Dept. server private to the WPI community only, one can include the following text in a publicly readable file named .htaccess which is located in the directory that is to be kept private.
<Limit GET PUT POST>
deny from all
allow from .wpi.edu
Make sure that you set the file protection using the UNIX command:
chmod o+r .htaccessThis will make all files in the private directory unreadable by anyone using a web browser outside of the wpi.edu domain. They will simply get the following message:
Your client does not have permission to get URL (your URL) from this server.
email@example.com / Wed Sep 6 14:53:29 EDT 2000