ErrorDocument 401 /docs/register.html Order deny,allow Deny from all AuthType Basic AuthUserFile /path/to/real/passwd AuthName "Protected Area" Require valid-user satisfy any ErrorDocument 401 /docs/loggedout.html Order deny,allow Deny from all AuthType Basic AuthUserFile /path/to/empty/passwd AuthName "Protected Area" Require valid-user satisfy any