Serving repo with Apache on windows

Andrei Vermel avermel at mail.ru
Fri Feb 2 22:03:32 UTC 2007


Does anyone serve a repository with Apache on windows successfully?

For me web interface seems to work fine, but pull, clone and incoming fail with various 
errors like

HTTP Error 500: Internal Server Error, or

  File "c:\python24\Lib\site-packages\mercurial\httprepo.py", line 120, in zgene
rator
    yield zd.decompress(chunk)
zlib.error: Error -3 while decompressing: incorrect data check

or even

sending heads command
searching for changes
sending branches command
abort: 'http://127.0.0.1:8085/mercurial/repo' does not appear to be
an hg repository!

I examined logs and dump of cgi output, but couldn't see anything evident.

Apache's error log has following errors:
[Sat Feb 03 00:32:54 2007] [error] [client 10.13.1.18] malformed header from script. Bad 
header=1 changesets found: hgwebdir.cgi

CGI dump is attached.

I also stepped through the server's script in a debugger, it seems to thinks that it 
completes the output successfully.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cgilog.txt
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20070203/669cea17/attachment-0001.txt>


More information about the Mercurial mailing list