ref: 4999b2f75f14880c0d4e3b44a9e112a1ff861bdd dir: /rc/bin/rc-httpd/handlers/authorize/
#!/bin/rc if(~ $REMOTE_USER ''){ extra_headers=($extra_headers 'WWW-Authenticate: Basic realm="'$"SERVER_NAME'"') error 401 exit }