Project

General

Profile

Actions

Bug #2048

closed

issue of mercurial with spawn-fcgi

Added by cherife about 13 years ago. Updated about 13 years ago.

Status:
Invalid
Priority:
Normal
Target version:
-

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

spawn-hg.err (7.56 KB) spawn-hg.err strace output of spawn hgwebdir.cgi cherife, 2009-08-05 15:40
Actions #1

Updated by cherife about 13 years ago

In addition, bound to IP or Unix socket, assigned absolute or relative path to -f always got the same error.

Actions #2

Updated by darix about 13 years ago

CGI != FCGI

mod_cgi is what you want.

Actions #3

Updated by stbuehler about 13 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.

Actions #4

Updated by cherife about 13 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.

Actions #5

Updated by cherife about 13 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&gt;.
Thanks stbuehler. Sorry for my mistake.

Actions

Also available in: Atom