Skip to navigation
How to setting up a domain for Mercurial in apache2 VirtualHost file
08.02.17
ServerName hg.domain.tld ServerAdmin admin@domain.tld ScriptAliasMatch ^/repositories(.*) /var/hg/hgweb.cgi$1 DocumentRoot "/var/www/mercurial/"
Options ExecCGI FollowSymLinks AllowOverride None AuthType Basic AuthName "Mercurial Repository Server" AuthUserFile "/etc/apache2/hg.passwd" Require valid-user
ErrorLog "/var/log/apache2/mercurial-error.log" CustomLog "/var/log/apache2/mercurial-access.log" combined
access to mercurial web ui only at : http://hg.domain.tld/repositories
Reply
Anonymous
Information Epoch 1732636143
A language that doesn't affect the way you think is not worth knowing.
Home
Notebook
Contact us