debug
#nodebug
vhost
ctlchan=shttpd
accesslog=/services/httpd/access.log
announce=net!www.example.com!80
mime ext=.text type='text/plain; charset=utf-8'
mime ext=.mov type='video/quicktime'
mime ext=.erl type='text/plain; charset=utf-8'
# port=80 is not necessary, it's the default
host=www.example.com port=80
listings path=''
cachesecs=60
index file=index.html file=index.htm file=index.txt
redir src='^/oldfile$' dst=/newfile
redir src='^/oldpath/(.*)$' dst=/newpath/$1
alias
host=example.com port=80 usehost=www.example.com useport=80
For complete documentation see
shttpd(8),
attrdb(6)
A cluster setup can export a file like this to support distributing work over a grid. A grid-specific svc script may be provided in the future to facilitate this use-case.