# Prevent the server from serving the .htaccess file Require all denied # Require the page to be accessed via SSL (https) SSLRequireSSL # SUBSTITUTE Error Document with the URL you wish to protect. This will redirect any non-https requests to the correct https version. ErrorDocument 403 https://web.eecs.utk.edu/~netid/protected AuthType Basic # SUBSTITUTE your NetID for "username" below AuthUserFile /home/username/.htpasswd AuthGroupFile /dev/null # AuthName sets the "authentication realm" and is sometimes presented to the user by the browser # as part of the password prompt. # SUBSTITUTE this as desired AuthName "Authorized Users Only" #SUBSTITUTE user1, user, with a list of all users from your .htpasswd # file that should have access Require user user1 user2