I just recently changed my server over from Windows 2000 to Redhat Linux 9. Now what I did was mount my old C drive in /mnt/windows and just used all the same stuff. I then copied the cgi-bin files to /var/www/cgi-bin. The problem now is that is keeps giving me that error "Premature end of script headers". Now, I tried the whole "#!/usr/bin/perl -w" thing, and it seemed to work, but in reality, the scripts did not actually worked, they simply stopped giving me errors. Does anyone have any idea what the problem might be? I don't have anything special going on with Apache, its basically just like it was when I installed it.
Hopefully someone can help me, I have been trying to fix this thing forever :-/