#!/bin/rc

#echo multipart  5 > ctl
{
	echo '<table>'
	for(i in `{du -a /mnt/cgi | sort | awk '{print $2}' | grep -v response/body}) {
		echo '<tr><td><b>'$i':</b></td><td><pre>'
		if(test -f $i) cat $i
		echo '</pre></td></tr>'
	}
	echo '</table>'
}> response/body
echo -n text/html > response/content-type
echo -n 200 OK > response/reply
