plan9fox/rc/bin/rc-httpd/handlers/static-or-index
stanley lieber c877493fb0 add rc-httpd
2013-02-04 16:40:05 -06:00

6 lines
80 B
Bash
Executable file

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