[fossil-users] Problem with Fossil and CGI

2010-11-20 Thread Søren Enevoldsen
Hello I'm trying to get Fossil to work with CGI using Hiawatha webserver. I'm using the following CGI script: #!/usr/bin/fossil repository: /var/www/fossil/test.fossil When I access it /fossil.cgi I, my browser now says it is at /fossil.cgi/index and I get an 404. The following test cgi

Re: [fossil-users] Problem with Fossil and CGI

2010-11-20 Thread Richard Hipp
On Sat, Nov 20, 2010 at 7:36 AM, Richard Hipp d...@sqlite.org wrote: 2010/11/20 Søren Enevoldsen senevoldse...@gmail.com Hello I'm trying to get Fossil to work with CGI using Hiawatha webserver. I'm using the following CGI script: #!/usr/bin/fossil repository:

Re: [fossil-users] Problem with Fossil and CGI

2010-11-20 Thread Søren Enevoldsen
The output I get is: -- Hello world wide web. DOCUMENT_ROOT=/var/www/html GATEWAY_INTERFACE=CGI/1.1 HTTPS=off HTTP_ACCEPT=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_ACCEPT_CHARSET=ISO-8859-1,utf-8;q=0.7,*;q=0.7

Re: [fossil-users] Problem with Fossil and CGI

2010-11-20 Thread Søren Enevoldsen
I'm browsing it on a computer running Windows, the server is Linux. Maybe Firefox decides that the line-feed should be preceeded by a carriage return? Not that it matter for this script. Stephan Beal wrote: 2010/11/20 Søren Enevoldsen senevoldse...@gmail.com mailto:senevoldse...@gmail.com

Re: [fossil-users] Problem with Fossil and CGI

2010-11-20 Thread Søren Enevoldsen
Thank you very much for your help. It was indeed not configured correctly. An option, EnablePathInfo was disabled by default. Enabling it seems to have solved. Richard Hipp wrote: 2010/11/20 Søren Enevoldsen senevoldse...@gmail.com mailto:senevoldse...@gmail.com From

Re: [fossil-users] Problem with Fossil and CGI

2010-11-20 Thread Søren Enevoldsen
The developer of Hiawatha suggested that using URL rewriting might be a better method than PATH_INFO. What is your thoughts on that? ___ fossil-users mailing list fossil-users@lists.fossil-scm.org

Re: [fossil-users] Problem with Fossil and CGI

2010-11-20 Thread Joshua Paine
On 11/20/2010 11:01 AM, Søren Enevoldsen wrote: The developer of Hiawatha suggested that using URL rewriting might be a better method than PATH_INFO. What is your thoughts on that? PATH_INFO is a very, very common requirement for CGI programs. In Apache and Lighttpd (at least) it 'just works'.