|
CSCI A348/548
|
You will be using these settings to hand in your assignments.
Here's what you need to do:
burrowww.cs.indiana.edu and go to your ServerRoot directory
cd /u/username/httpd
/u/dgerman/httpd/passwd to your ServerRoot
cp /u/dgerman/httpd/passwd .
Note that the command above assumes that you're in your ServerRoot already (the dot).
DocumentRoot.
Call the new directory: protected
Your DocumentRoot is most likely htdocs.
Reggie.html in your protected directory.
access.conf and add this to the end of the file:
<Directory /u/username/httpd/htdocs/protected>
AuthName Protected
AuthType Basic
AuthUserFile /u/username/httpd/passwd
<Limit GET POST>
require user dgerman
</Limit>
</Directory> Please don't forget to put your username in the two highlighted places.
Since there's more than one way to do it, I'll let you do it your way.
Reggie.html file in your protected directory only in exchange for my
password.
This is part of your next assignment, to be posted soon. Once your setup is complete you can start
moving (copying) your assignments into this new directory where they can only be seen by username
dgerman in exchange for the password listed in the file you transferred.
Make sure that the umask of the files in protected is 700.
A348/A548