[issue1250] verbose set to "on" breaks cloning functionality via http
Ota Mares
mercurial-bugs at selenic.com
Fri Aug 1 21:35:05 CDT 2008
New submission from Ota Mares <ota.mares at gmail.com>:
Enabling verbose to on in the /etc/mercurial/hgrc file breaks the cloning
functionality via the http interface.
I am running the hgwebdir.cgi script on Opensuse 11 with Apache 2.2.6, Python
2.5.2 and mercurial 1.0.1.
Viewing the repository through a browser works fine.
Cloning any repo (hg clone http://repo.domain.com/test) leads to following error
of mercurial:
abort: HTTP Error 500: Internal Server Error
The apache logs following message:
[Sat Aug 02 04:05:09 2008] [error] [client 192.168.21.45] malformed header from
script. Bad header=1 changesets found: hgwebdir.cgi
The virtual host config:
<VirtualHost *:80>
ServerName repo-browser.domain.de
ServerAlias repo-browser.domain
ServerAdmin webmaster at domain.de
DocumentRoot /www/repository-browser/htdocs
ErrorLog /www/repository-browser/logs/error.log
RewriteEngine on
RewriteRule (.*) /www/repository-browser/htdocs/hgwebdir.cgi$1
<Directory "/www/repository-browser/htdocs">
Options +ExecCGI +FollowSymLinks
</Directory>
</VirtualHost>
And the used hgrc config (hgwebdir.cgi also points to this file):
[ui]
username = "Servername" <om at viazenetti.de>
#uncommenting following line breaks the clonining functionality via the http
interface
#verbose = true
slash = true
[extensions]
mq=
gpg=
hgk=
acl=
purge=
fetch=
transplant=
[email]
from = "Repository Managment" <om at viazenetti.de>
method = /usr/sbin/sendmail -t -i
[web]
allow_archive = bz2 gz zip
contact = "Ota Mares" <om at viazenetti.de>
description = No description given
encoding = UTF-8
stripes = 1
style = gitweb
baseurl =
[paths]
test = /www/_mercurial-test-repo/
----------
messages: 6680
nosy: Ota
priority: bug
status: unread
title: verbose set to "on" breaks cloning functionality via http
topic: hgweb, ui
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1250>
____________________________________________________
More information about the Mercurial-devel
mailing list