On Thu, 2001-09-13 at 22:17, Jay Kline wrote: > If you are getting the "Premature end of script headers" you are set up to be > executing the script. There is another problem. When you execute the script > on the command line, is the first pice of output: > > Content-type: text/html > > > > (with 2 blank lines following)? Yes, this is what I get. > If its not, that is what apache is complaining about. Apache leaves the > headers up to the scripts, so you need (at the very least) to send the > content type. A simple script to make sure everything is working would be > this: > > #!/bin/perl -w > print "Content-type: text/html\n\n"; > print "Hello World"; > > > If that dosnt work, then there are other errors, and let us know. The above is the exact "simple" test script I am using. It works fine in /home/httpd/cgi-bin/, but not in /home/user/www/cgi-bin/. See for yourself at http://sildara.dyndns.org/cgi-bin/test.cgi My user directory is http://sildara.dyndns.org/~dave/cgi-bin/test.cgi Dave -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20010913/d768441b/attachment.pgp