Setting up access restrictions on folders: ------------------------------------------ 1. login newmedia.slc.edu 2. cd apache/support 3. type: >make htpasswd 4. type: >pwd 5. create a temporary alias: >alias htpass /home/username/apache/support/htpasswd 6. cd /home/username/apache/conf 7. cREATE the passwd file: >htpass -c .htpasswd funkyperson (repeat without -c for all the user names who will be given access) 8. cd 9. now we'll make a folder that will be protected: >mkdir sizzlin 10. cd sizzlin 11. vi .htaccess insert: AuthName Some_Zone_Name_Anything_will_do AuthUserFile /home/username/apache/conf/.htpasswd AuthGroupFile /dev/null AuthType Basic require user funkyperson 12. To allow a directory to be restricted within a .htaccess file, you first need to ensure that the access.conf file allows user authentication to be setup in a .htaccess file. This is controlled by the AuthConfig override. The access.conf file should include AllowOverride AuthConfig to allow the authentication directives to be used in a .htaccess file. vi /home/username/apache/conf/access.conf: change: AllowOverride None to AllowOverride AuthConfig (make sure you're changing the and not the cgi-bin ) 13. cd /home/username/web/sizzlin 14. vi hot.html add all those private parts.... 15. kill your server if it's running: >ps -axl | grep httpd >id kill -9 `cat /home/username/apache/logs/httpd.pid` kill -9 (additional pids associated with your user id #) cd /home/apache ./httpd 16. Browser http://newmedia.slc.edu/username/sizzlin you funkyperson!