File : /etc/apache2/httpd.conf:
... Include /private/etc/apache2/hg/user.conf
File: /etc/apache2/users/user.conf:
<Directory "/home/user/Sites/"> Options Indexes MultiViews SymLinksIfOwnerMatch Includes ExecCGI AllowOverride None Order allow,deny Allow from all </Directory>
For some reason, /Users/user ... did not work, so I made a link to /home.
File: /etc/apache2/hg/arcoleo.conf:
ScriptAliasMatch ^/~user/hg(.*) /home/user/repo/hg/hgwebdir.cgi$1 <Directory /home/user/repo/hg> Options ExecCGI FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory>