Ticket Change Details
Not logged in
Overview

Artifact ID: 5d96af6f40680b9dc84855708fd2d1b7740d2f01
Ticket: 7c25821f6a1be7f0cbbb47698235e45f1b874816
fossil stuck in cgi mode
User & Date: anonymous 2011-05-23 08:17:46
Changes

  1. comment changed to:
    I am trying to run fossil within a cgi script using the "http" subcommand.  Fossil thinks it is in cgi mode and gives error "no such file: http".  That is, it thinks the "http" subcommand is the location of the script file required for cgi mode operation.
    
    When I unset the GATEWAY_INTERFACE env variable, I get a "404 not found" error.
    
    When I unset all environment variables, fossil reverts to the above "no such file: http" error.
    
    After scanning the ticket database, I tried the "-nocgi" option in various positions and permutations in the command (as its use is undocumented, even in the ticket introducing it), but nothing I tried worked.
    
    My code works flawlessly when run from a command line.  How do I convince fossil it really shouldn't be running in cgi mode?
    
  2. foundin changed to: "d8221b9863"
  3. private_contact changed to: "22e3b7a55e291d179313f4c2e34877f09743ee31"
  4. status changed to: "Open"
  5. title changed to: "fossil stuck in cgi mode"
  6. type changed to: "Code_Defect"