----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hello all,

I know that I am asking about something that is covered in the FAQ, and I
HAVE read the FAQ, but it has left me confused (probably because I am not a
Java programmer). 

I am running apache 1.3 on redhat 5.2. Java (JDK1.2.2/JRE1.2.2) is installed
and working correctly, when run from a prompt and from webpages (located in
home/httpd/html).

Recently the boss decided he wants to run Java outside the html directory,
specifically the cgi-bin directory(home/httpd/cgi-bin). 

After moving all required files to the cgi-bin, the boss reports a "class
{whatever} not found" from any webpage that uses java. Of course, the .class
file is in the same directory as the page calling it. A examination of the
http error logs shows "Premature end of script headers" for the .class file.

I am writing to the list in hopes that someone can clarify what environment
variables I need to change/add - if any, or other config options I may need
to change to allow webpages (and Perl scripts) outside the html directory to
run Java.

Thank in advance, 
Jim 
[EMAIL PROTECTED]


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to