ref: 8b6ec7da32b39b2f1af45b6f6dff4cc9e836d5ac 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 }