ref: 4567ed717807262c9c46ba9d0f32fda2597ba812
dir: /rc/bin/rc-httpd/handlers/static-or-cgi/
#!/bin/rc cgiargs=$* fn error{ if(~ $1 404) exec cgi $cgiargs if not $rc_httpd_dir/handlers/error $1 } if(~ $location */) exec cgi $cgiargs if not exec serve-static