#!/bin/sh

cat <<EOF
Content-type: text/html

<title>NT WWW Logs</title>
<hr>
<h1><i>Webcam Logs</h1></i>
<hr><pre>
EOF
grep -e "//webcam2" -e "control" /var/log/httpd-access.log | tail -100
