- From: Anselm Baird_Smith <abaird@www43.inria.fr>
- Date: Tue, 1 Apr 1997 15:46:45 +0200 (MET DST)
- To: Paul Pang <cwpang@cse.cuhk.edu.hk>
- Cc: www-jigsaw@w3.org
[sorry for the delay] Paul Pang writes: > > One user of our Jigsaw server asked a question about using=20 > the cgi program under the Jigsaw alpha5 server. > > Now our Jigsaw server can run all cgi programs which is written > by shell script or perl script. However, if our user wanna to=20 > use binary executable files ( generated by gcc under UNIX ) as=20 > the cgi program. Our Jigsaw Server will try to interpret it=20 > as the shell script file and errors thus appeared. > > And hints on how to configure it ? > I'm now using the w3c.jigsaw.forms.CgiResource class to identity the file > with extension *.cgi ( which is taught by the documentation) That's really weird...I guess you have left the "interpretor" attribute empty (when exporting native-code cgi ?) If not that's the problem; otherwise, could you provide more details (the weird thing is that beyond the "interpretor" attribute, Jigsaw really relies on System.exec to run CGI scripts, Anselm.
Received on Tuesday, 1 April 1997 08:47:06 UTC