Bug #2048
closedissue of mercurial with spawn-fcgi
Description
Spawn-fcgi with php-cgi working without any issue here.
Then I wanna set up mercurial repos and web-interface using spawn-fcgi.
At first I got "child exited with: 126", fixed by correcting permissions. Then I always got "child exited with: 0".
Executing hgwebdir.cgi do outputs the desired contents.
The ownership and permissions is as below:
darkstar:~ $ ls -lR /hg/ /hg/: total 0 drwxr-xr-x 2 apache apache 112 2009-08-05 23:02 script/ /hg/script: total 8 -rw-r--r-- 1 apache apache 140 2009-08-05 02:45 hgweb.config -rwxr-xr-x 1 apache apache 2300 2009-08-05 22:57 hgwebdir.cgi
Strace log attached.
Files
Updated by cherife almost 14 years ago
In addition, bound to IP or Unix socket, assigned absolute or relative path to -f always got the same error.
Updated by stbuehler almost 14 years ago
- Status changed from New to Invalid
- Priority changed from High to Normal
hgwebdir.cgi has no FastCGI support.
Please don't just choose high priority to get fast support, as this is a bug tracker and not a support forum.
Updated by cherife almost 14 years ago
- % Done changed from 0 to 100
darix wrote:
CGI != FCGI
mod_cgi is what you want.
Oh yeah, I got messed up.
Thank you darix, maybe I need an hgwebdir.*f*cgi.
Updated by cherife almost 14 years ago
stbuehler wrote:
hgwebdir.cgi has no FastCGI support.
Please don't just choose high priority to get fast support, as this is a bug tracker and not a support forum.
Yes, I'm now using hgwebdir.fcgi, everything goes fine.
In case someone has the similar problem, refer to <http://www.selenic.com/pipermail/mercurial/2007-August/014238.html>.
Thanks stbuehler. Sorry for my mistake.
Also available in: Atom