sunet/web-server/root/cgi-bin/comments.sh

11 lines
240 B
Bash
Raw Permalink Normal View History

2002-08-22 11:38:17 -04:00
#!/bin/sh
2002-09-14 12:46:15 -04:00
# An example CGI program outputing the current date
2003-01-28 16:52:28 -05:00
echo content-type: text/html
echo status: 200 OK
2002-08-22 11:38:17 -04:00
echo
2003-01-28 16:52:28 -05:00
echo "<html><body>"
2002-08-22 11:38:17 -04:00
echo "<h2> This is the cgi script. </h2>"
2002-08-29 10:47:12 -04:00
echo "<br> Current date: "
echo `date`
2003-01-28 16:52:28 -05:00
echo "</body></html>"