shithub: plan9front

ref: 28836f3ff593f729a9dc92b67a6f99382bc84c28
dir: /rc/bin/rc-httpd/handlers/static-or-index/

View raw version
#!/bin/rc
if(~ $PATH_INFO */)
	exec dir-index $params
if not
	exec serve-static