https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292008-02-27T09:41:17ZRedmineRedmine - Feature #460: better mercurial integration with hgwebhttps://www.redmine.org/issues/460?journal_id=14942008-02-27T09:41:17ZPiero Sartini
<ul></ul><p>isn't it possible to re-use the subversion parts for access control?<br />i played around with it but my perl skills are by far not good enough to get this working.</p>
<p>I tried it like this:<br /><pre>
ScriptAliasMatch ^/hg(.*) /path/to/repos/hg/hgwebdir.cgi$1
<Directory /path/to/repos/hg/>
Options ExecCGI FollowSymLinks
AllowOverride None
AuthType Basic
AuthName redmine
Require valid-user
PerlAccessHandler Apache::Authn::Redmine::access_handler
# PerlAuthenHandler Apache::Authn::Redmine::authen_handler
PerlSetVar dsn DBI:Pg:dbname=redmine;host=myhost
PerlSetVar db_user redmine
PerlSetVar db_pass mypassword
# AuthBasicAuthoritative Off
</Directory>
</pre></p>
<p>I get the following error:<br /><pre>
[error] Internal error: pcfg_openfile() called with NULL filename
</pre></p>
<p>After asking google, the problem seems to be that both, hgwebdir.cgi as well as the PerlAccessHandler from redMine want to control the authentication. Unfortunately it doesn't help to set "AuthBasicAuthoritative Off".</p>
<p>I think this would be a great addition to redmine. Maybe this is no real problem for someone with better perl skills...</p> Redmine - Feature #460: better mercurial integration with hgwebhttps://www.redmine.org/issues/460?journal_id=237702011-01-07T11:15:08ZToshi MARUYAMA
<ul><li><strong>Category</strong> set to <i>SCM</i></li></ul> Redmine - Feature #460: better mercurial integration with hgwebhttps://www.redmine.org/issues/460?journal_id=237712011-01-07T11:16:32ZToshi MARUYAMA
<ul><li><strong>Subject</strong> changed from <i>better mercurial integration</i> to <i>better mercurial integration with hgweb</i></li></ul> Redmine - Feature #460: better mercurial integration with hgwebhttps://www.redmine.org/issues/460?journal_id=249262011-02-07T21:14:36ZAlessio Caiazza
<ul></ul><p><a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl#Apache-configuration-for-Mercurial-repositories">Apache configuration for Mercurial repositories</a></p>
<p>Can it be marked as Resolved?</p> Redmine - Feature #460: better mercurial integration with hgwebhttps://www.redmine.org/issues/460?journal_id=269822011-03-24T06:26:58ZToshi MARUYAMA
<ul><li><strong>Category</strong> changed from <i>SCM</i> to <i>SCM extra</i></li></ul>