ref: c80f22f74a4b7d08451a73258cbbf1b013da92d8 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 }