It has nothing to do with Java. In your Perl script you did not put
extra new line character after the header (Perl's Top 10 Error).
Check that the first thing your Perl script says to the world is:
"Content-Type: text/html\n\n"
> Hi all-
>
[quoted text clipped - 11 lines]
> [Sun Nov 02 20:05:01 2003] [error] [client 192.168.1.1] Premature end of script headers: babylon101.jar
> [Sun Nov 02 20:05:01 2003] [error] [client 192.168.1.1] Premature end
of script headers: babylonApplet.class
> [Sun Nov 02 20:05:01 2003] [error] [client 192.168.1.1] Premature end
of script headers: babylonApplet.class
> [Sun Nov 02 20:05:01 2003] [error] [client 192.168.1.1] script not found or unable to stat: /var/www/mine/cgi-bin/java/babylonApplet
> [Sun Nov 02 20:05:01 2003] [error] [client 192.168.1.1] script not found or unable to stat: /var/www/mine/cgi-bin/java/babylonApplet
[quoted text clipped - 23 lines]
> Thanks,
> Jeff
jeep@93.usenet.us.com - 04 Nov 2003 07:33 GMT
> It has nothing to do with Java. In your Perl script you did not put
> extra new line character after the header (Perl's Top 10 Error).
> Check that the first thing your Perl script says to the world is:
> "Content-Type: text/html\n\n"
I already have that:
print "Content-type: text/html\r\n\r\n";
Any other suggestions? :)
VK - 04 Nov 2003 16:59 GMT
not \r\n\r\n
\n\n !
You are in CGI, not in Windows anymore as soon as you print anything to
the Web.
"Premature End Of Script Headers" is a very specific Perl error message.
It means only two options:
1. You did not "Content-Type: text/html\n\n" as the first string of your
script.
2. You did "Content-Type: text/html\n\n" and tried to add more headers
(cookie etc) after that.
Check your HTML-output subs.
Start a new thread if it doesn't help (I will :-)
jeep@93.usenet.us.com - 07 Nov 2003 02:45 GMT
Fixed it. Turned out I had it under the cgi-bin area instead of outside
the cgi-bin area (apparnetly based on another posting a while back).
Thanks for the suggestions and help anyhow!
Jeff