Looking at the source code, it looks like Fossil goes into CGI mode when it 
sees that the GATEWAY_INTERFACE is defined or the cgi command line parameter is 
specified.

Try clearing GATEWAY_INTERFACE.

Tony Perovic
Compumation, Inc.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Gé Weijers
Sent: Monday, March 07, 2011 10:25 AM
To: [email protected]
Subject: Re: [fossil-users] Basic question: how to create fossil web service 
using bash cgi



On Sun, 6 Mar 2011, David Bovill wrote:

> My bash scripting is very basic. I've been trying to create some cgi's on
> the server that will let me create new fossil repos. I've this test cgi, and
> am unable to issue the commands to fossil that I am able to in the
> terminal.

fossil sees that the environment contains CGI variables and switches to
CGI mode. To make this work you'll have to purge the environment, I'm not
quite sure which variable you need to remove.

Ge'
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to