ref: 220cfb7a23dd0e6f6efb2cabe1389e723073e5b6
dir: /handlers/static-or-index/
#!/bin/rc full_path=`{echo $"fs_root^$"location | urlencode -d} full_path=$"full_path if(~ $"location */) exec dir-index if(test -d $full_path){ location=$location^'/' exec dir-index } exec serve-static