Never mind. I found the prob (and, you are correct).
I needed to put "Content-type:text/html\n\n" right at the very start, nothing in front of it.
This is my second day using Apache. I am surprised at how many things I had to change in the scripts to get them running on apache. Not just the obvious stuff like the above omission, but even some obscure, arcane things too. For instance $variable = $cgi->url() does not produce the same results from IIS as it does on Apache. Case sensitivity has gotten me a few times.
I'm not done with all of the websites (8 of them), but I think all the hard stuff is over with.
Last edited by nyroc; 11-30-2002 at 12:11 AM.