#!/bin/rc
echo 'HTTP/1.1 200 OK'
echo 'Server: Plan 9 and rc'
echo -n 'Date: '; date
echo 'Content-Type: text/plain; charset=UTF-8'
echo
# I'd rather this work, but none has issues, I think.
#9fs other && bind -c /n/other/tmp /tmp
ramfs
cat <<EOF
Look, now 9srv has a web page!
9srv provides semi-public Plan 9 accounts, including cpu
service, email, fossil, and venti.
9srv also runs the public snippet service; for details, see
http://www.plan9.bell-labs.com/wiki/plan9/snip/index.html
To request an account, contact Anthony Sorace.
This static page is served by tcp80, available on sources at
/n/sources/contrib/anothy/bin/rc/tcp80
EOF
|