Problems with hgwebdir

Matt Mackall mpm at selenic.com
Sat Feb 2 10:48:33 CST 2008


On Fri, 2008-02-01 at 23:26 -0200, Martin Marques wrote:
> Matt Mackall escribió:
> > 
> >> Should I get the .cgi file from the crew-stable repo?
> > 
> > Yes.
> 
> OK, past to the cgi from the crew and I changed everything to work with cgi:
> 
> <VirtualHost hg.marquesminen.com.ar:80>
>      ServerAdmin webmaster at marquesminen.com.ar
>      DocumentRoot /var/www/hg/
> 
>      ScriptAliasMatch	^/(.*)		/var/www/hg/hgwebdir.cgi$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>
> 
> Now I get mercurial errors (check hg.marquesminen.com.ar). :-(

Ahh, looks like your .CGI is too new. You should grab the
corresponding .CGI for the 0.9.4 version. Not sure why it was considered
a good idea to change the CGI script..

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list