Artifact
64c39b43eb2b9643682cd835c1d290aacd2f3362:
Ticket change
[64c39b43eb]
- Ticket
[e49f245975] Add '-nocgi' option status still Fixed with 1 other change
by
drh
2010-11-05 09:53:53.
D 2010-11-05T09:53:53
J comment I\sjust\sencountered\sa\ssmall\sissue\susing\sfossil\swithin\sa\sphp\sscript.\s\sUsing\sthe\sphp\s"exec()"\sfunction\sto\srun\sfossil\s--\sto\sadd\sa\sticket\sto\sa\srepository\s--\sI\swas\sunable\sto\sdo\sit\sdirectly\sbecause\sfossil\sstarts\sin\scgi\smode.\r\n\r\nThe\sway\saround\swas\sto\sexecute\sfossil\sfrom\sa\sshell\sscript\swhich\s"unset"s\sGATEWAY_INTERFACE.\s\sThis\stook\sme\sa\sbit\sto\sfigure\sout,\sand\sseems\sunnecessary.\r\n\r\nSo\sI\ssuggest\sadding\sa\s'-nocgi'\soption\sso\sthat\sit\sis\seasier\sto\srun\sfossil\sfrom\swithin\sa\scgi-script\s(without\susing\sfossil\sin\scgi\smode)\r\n\r\n<hr\s/><i>ron\sadded\son\s2010-11-05\s05:46:45:</i><br\s/>\r\nThis\sfix\sseems\sto\smake\smy\sserver\snot\swork\sany\slonger.\r\n\r\nIt\sis\sconfigured\sas\sa\sscript\swhich\sis\sexecuted\sfrom\sthe\sserver,\sand\sthat\sserver\sis:\r\n\r\n<blockquote><pre>\r\n#!/path/to/fossil\r\ndirectory:\s/home/my/fossils\r\nnotfound:\shttp://somewhere.else/\r\n</pre></blockquote>\r\n\r\n\r\nWhat\sis\shappening\sis\sa\s'server\smisconfigured'\smessage\swhen\sI\saccess\sthe\spage\snow;\sreverting\sto\sver\scb2ff51\sfixes\sthe\sproblem.\s\sAdding\s'cgi'\sas\sa\sparameter\son\sthe\s#!\sline\shelps,\sbut\sI\slose\sthe\scss.
K e49f245975f89a8a9c006ec224eed48c8ad77593
U drh
Z f7f3f37d7d1e7a7756896555bb6e6240