From jacunix@cantv.net Wed Jul 11 18:42:11 2001
Received: from rs3s4.datacenter.cha.cantv.net (rs3s4-b.datacenter.cha.cantv.net [200.44.32.59])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id f6BGgAX22133
	for <prolog@swi.psy.uva.nl>; Wed, 11 Jul 2001 18:42:10 +0200 (MET DST)
Received: from [200.44.23.76] (mrdras2-076.ras.mrd.cantv.net [200.44.23.76])
	by rs3s4.datacenter.cha.cantv.net (8.10.2/8.10.2/2.0) with ESMTP id f6BGg6U05284
	for <prolog@swi.psy.uva.nl>; Wed, 11 Jul 2001 12:42:07 -0400
Mime-Version: 1.0
X-Sender: jacunix@pop.cantv.net (Unverified)
Message-Id: <p05101000b7722eda71a6@[200.44.23.21]>
In-Reply-To: <200107111102.f6BB2uf28820@gollem.swi.psy.uva.nl>
References: <200107111102.f6BB2uf28820@gollem.swi.psy.uva.nl>
Date: Wed, 11 Jul 2001 12:37:29 -0400
To: prolog@swi.psy.uva.nl
From: Jacobo Myerston <jacunix@cantv.net>
Subject: Re: [SWIPL] HELP-Calling prolog from CGI scripts
Content-Type: text/plain; charset="us-ascii" ; format="flowed"


I've inserted the line:

>
>#!/usr/local/bin/pl -q -g main -s

in cgidemo.pl

>but, I got only three characters in the browser: 1 ?- 

I think Apache is running properly since I can run perlscripts.



6 month ago I had as homework to write a working cgi in prolog. I 
gone almost crazy trying to do that; What is the trick?







-- 

