Plan 9 from Bell Labs’s /usr/web/sources/contrib/anothy/bin/rc/tcp80

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/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

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.