> My question: How can I tell the httpd to NOT redirect stdout to the website?
Or you could tell your CGI programs not to generate data on stderr.
In your example for instance.
#!/bin/sh
# Redirect stderr, not required in production
exec 2>/dev/null
echo "Content-Type: text/plain"
echo "Expires: 0"
echo
echo "Hello World!"
echo "You should not see this text in your Browser" >&2
HTH
--
Bob Dunlop
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox