werc-1.5.0-tweaks/bin/contrib/rc-httpd/handlers/static-or-index

6 lines
80 B
Plaintext
Raw Normal View History

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