Ticket Hash: | 81e3ec6097bfc62d366ca2781fa3724826df042b | |||
Title: | Problem with repository when using flint on windows | |||
Status: | Closed | Type: | Incident | |
Severity: | Important | Priority: | Immediate | |
Subsystem: | Resolution: | Workaround | ||
Last Modified: | 2012-03-22 00:04:35 | |||
Version Found In: | ||||
Description: | ||||
I am trying to port flint to windows, but I get an error (500) when referred to http://localhost/user/me/repository/test
What exactly is apache supposed to do here? In the flint error_log I get: [Tue Mar 20 16:49:27 2012] [error] [client ::1] (70014)End of file found: Failed to read cgi file C:/xampp/flint/repos/me/repository for testing, referer: http://localhost/repositories/ [Tue Mar 20 16:49:27 2012] [error] [client ::1] (70014)End of file found: don't know how to spawn child process: C:/xampp/flint/repos/me/repository, referer: http://localhost/repositories/ james added on 2012-03-20 18:26:59 UTC:
You may need to change the path of the fossil binary in the "repository" script. The file gets created in nano/fossil.php. For any "repository" scripts already created you will need to change the path by hand. I hope this helps. anonymous added on 2012-03-20 19:56:05 UTC: #!c:/fossil directory: ./ notfound: http://localhost/notfound which is almost certainly wrong? james added on 2012-03-20 20:05:19 UTC: anonymous added on 2012-03-20 20:06:54 UTC: james added on 2012-03-21 00:32:08 UTC: http://fossil-scm.org/index.html/doc/trunk/www/quickstart.wiki#serversetup anonymous added on 2012-03-21 08:12:38 UTC: So it's similar to fossil serve? If so, the flint site would eventually start serving lots of fossil servers on the same port? Can you comment on the contents of the cgi script; it seems like fossil is called without parameters, and then the "directory ./" is called, is that similar to changing directory? anonymous added on 2012-03-21 20:57:46 UTC: I can now see the fossil ui, however, it says that I am not logged in. When I go back to the flint website, I am still logged in. Any ideas? anonymous added on 2012-03-21 21:34:42 UTC: james added on 2012-03-22 00:04:35 UTC: You are correct your chisel user is different then your fossil user. Chisel is just a way to serve up a number of fossil repositories you manage your fossil users independent of chisel, although when you create a fossil repo from chisel a default user is created for you. directory: ./ allows the single repository cgi script to serve all fossil repositories in the same directory as the script. It sounds like you've gotten things working so I'm going to close this ticket. If your changes aren't windows specific, feel free to open a new ticket and attach a patch and maybe I can integrate them with flint. |