Sept 2011
All GMU students have an account on mason.gmu.edu, and can create small websites. Space is limited.
Following is a simple list of commands that will help you create a simple web page. use these commands after logging on to mason.gmu.edu (the same account and password as your gmu email account).
Your URL will be: http://mason.gmu.edu/~username/
These instructions are based on the Authentication, Authorization, and Access Control tutorial. You can also get more help from the Free Webmaster Help. You can see an example using this in my mason account. You should see something like the following:
If you are not familiar with Unix commands, it is important to follow these instructions precisely. To password-protect a directory in the Apache web server, you must create a directory, give it the appropriate permissions, create the file .htaccess with the correct permissions and contents, and create a password file. We are going to name the directory testaccess, and the password file users. Start from within your public_html directory (or another directory in your website).
Before starting, find out which disk partition your home directory is on. After logging on to mason.gmu.edu, enter the command "pwd". You should see something like "/home/u3/USERNAME". "u3" is the disk partition; yours might be u2, u4, u5, or something similar. Use that partition in the command below ...
Your file should replace USERNAME with your user name. You must include the user swe432.
| Back to assignments page | Back to schedule page |
© Jeff Offutt, 2001-2011, all rights reserved. This document is made available for use by GMU students of SWE 432. Copying, distribution or other use of this document without express permission of the author is forbidden. You may create links to pages in this web site, but may not copy all or part of the text without permission of the author.