ref: 4f6fa04fe60dde3f55e4f07589d0373e0fe841c9 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 }