Problems with hgwebdir

Matt Mackall mpm at selenic.com
Fri Feb 1 14:37:34 CST 2008


On Fri, 2008-02-01 at 18:07 -0200, Martin Marques wrote:
> I'm trying to get hgwebdir to work and I'm getting cgi errors. Following 
> the info in the mercurial wiki I did this:

Correction: you're getting FastCGI errors. FastCGI is very different
from CGI and the fact that you're using the ".fcgi" script is probably
the source of your problems.

> httpd.conf:
> 
> <VirtualHost hg.marquesminen.com.ar:80>
>      ServerAdmin webmaster at marquesminen.com.ar
>      DocumentRoot /var/www/hg/
> 
>      ScriptAliasMatch    ^/(.*)          /var/www/hg/hgwebdir.fcgi$1
> 
>      <Directory /var/www/hg/>
>          Options ExecCGI FollowSymLinks
>          AllowOverride None
>      </Directory>
> 
>      ServerName hg.marquesminen.com.ar
>      ErrorLog logs/hg.marquesminen.com.ar-error_log
>      CustomLog logs/hg.marquesminen.com.ar-access_log combined
> </VirtualHost>
> 
> The error log says:
> 
> [Fri Feb 01 18:01:31 2008] [warn] (104)Connection reset by peer: 
> mod_fcgid: read data from fastcgi server error.
> [Fri Feb 01 18:01:31 2008] [error] [client 192.168.0.5] Premature end of 
> script headers: hgwebdir.fcgi
> 
> Any ideas?
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list