hgweb tryies to open locations, that it should not open.
kasak
kasak at kasakoff.net
Mon Jan 22 13:20:09 UTC 2018
Hello. I have repos working on apache with wsgi script.
Here is apache vhost config:
<VirtualHost *:80>
DocumentRoot /home/mercurial
WSGIScriptAlias /hg /home/mercurial/hg/hgweb.wsgi
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/mercurial/hg>
AddHandler wsgi-script .wsgi
AuthType Basic
AuthName "Restricted Files"
AuthUserFile /home/mercurial/hg/htpasswd_hgstore
Require valid-user
</Directory>
</VirtualHost>
In /home/mercurial I have directory «hg», where I have hgweb.wsgi, hgweb.conf, repos directory and htpasswd_hgstore
Here is my hgweb.conf:
[paths]
/ = /home/mercurial/hg/hg_repository/*
So here is my problem: As you can see, with my configs, everything should work with url: http://coderepo/hg/[somerepo here] and in works. But in apacheâs error.log I see tons of this errors:
[Mon Jan 22 16:13:32.823489 2018] [authz_core:error] [pid 1519:tid 140324768806656] [client 192.168.2.10:38477] AH01630: client denied by server configuration: /home/mercurial/Rs
[Mon Jan 22 16:13:32.841588 2018] [authz_core:error] [pid 1606:tid 140324684879616] [client 192.168.2.10:24758] AH01630: client denied by server configuration: /home/mercurial/Rs
[Mon Jan 22 16:13:32.857046 2018] [authz_core:error] [pid 1519:tid 140324777199360] [client 192.168.2.10:41611] AH01630: client denied by server configuration: /home/mercurial/Rs
[Mon Jan 22 16:13:32.873741 2018] [authz_core:error] [pid 1519:tid 140324785592064] [client 192.168.2.10:32659] AH01630: client denied by server configuration: /home/mercurial/Rs
Really there is TONS of them. Iâm not trying to access http://coderepo/Rs <http://coderepo/Rs>, Iâm trying to access, http://coderepo/hg/Rs <http://coderepo/hg/Rs>. So why does hgweb generates this errors?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20180122/46fd9e7d/attachment.html>
More information about the Mercurial
mailing list