|
| |
#!/bin/sh
# servtype.cgi
echo "Content-type: text/html"
echo ""
echo "<html><head><title>HTTP Lookup: $WWW_host</title></head>"
echo "<body bgcolor="#FFFFCA" text="#000000">"
echo "<h2>HTTP Server for $WWW_host</h2><p><hr><pre>"
/usr/local/bin/servtype $WWW_host $WWW_port
RESULT=$?
[ $RESULT -eq 2 ] && echo "Could not connect to host"
[ $RESULT -eq 1 ] && echo "Unknown HTTP server"
echo "</pre>"
cat /home/httpd/cgi-bin/html/footer.txt
|
Please send any suggestions, comments or problem
reports to our webmaster.
(C) 1998-2001 PR WebMasters |
|