ref: 3b08fd07698b041b55d1bf465e77f29d6eec1951 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 }