Re: Eclipse query

From: Joachim Schimpf <j.schimpf_at_icparc.ic.ac.uk>
Date: Fri 12 Apr 2002 09:39:39 AM GMT
Message-ID: <3CB6AB5B.4FDEAD8D@icparc.ic.ac.uk>
Kevin wrote:
> 
> However, when I run run.html and click on "complile and run", my browser
> will only display the contents of eclipse.cgi as text on the screen. i.e,
> it wont "actually" execute any code.!
> 
> eclipse.cgi contains an execution statment that presumably is to run on a
> server at icparc. (I think), which then takes and runs the contents of
> run.pl.
> 
> But eclipse.cgi wont execute....!

First make sure your cgi mechanism works.
Change eclipse.cgi to simply produce a little html page, e.g.

#! /bin/sh
cat <<EOF
Content-type: text/html

<HTML>
<HEAD><TITLE>Example</TITLE></HEAD>
<BODY>Hello</BODY>
</HTML>
EOF


If you got that working, go back to the original eclipse.cgi.
You will obviously have to adjust the path names in it, according
to your setup (i.e. the location of the eclipse executable and
the run.pl file).


-- 
 Joachim Schimpf              /             phone: +44 20 7594 8187
 IC-Parc, Imperial College   /            mailto:J.Schimpf@ic.ac.uk
 London SW7 2AZ, UK         /    http://www.icparc.ic.ac.uk/eclipse
Received on Fri Apr 12 10:39:39 2002

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:15 PM GMT GMT