Date: Sun, 2 Feb 1997 16:40:55 -0800 (PST) From: Dan Busarow <dan@dpcsys.com> To: Robert Chalmers <robert@nanguo.chalmers.com.au> Cc: bsd <freebsd-questions@freebsd.org> Subject: Re: apache and cgi's Message-ID: <Pine.UW2.3.95.970202163710.3403A-100000@cedb> In-Reply-To: <199702020246.MAA00628@nanguo.chalmers.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2 Feb 1997, Robert Chalmers wrote:
> ------------------the program
> #! /bin/sh -x
> #
> # %W% (Berkeley) %E%
> #
echo "Content-type: text/html"
echo ""
> cd /usr/games/lib/ching.d
> PATH=.:$PATH
> ---------------- the output on apache.
> + PATH=.:/sbin:/bin:/usr/sbin:/usr/bin
> + test
> + cno
> + echo
> [Sun Feb 2 12:39:00 1997] access to /usr/local/etc/httpd/cgi-bin/ching failed for carbon.chalmers.com.au, reason: malformed header from script. Bad header=
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Add the two echo commands above to generate good headers.
Dan
--
Dan Busarow 714 443 4172
DPC Systems / Beach.Net dan@dpcsys.com
Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.UW2.3.95.970202163710.3403A-100000>
