ServerName hg.host.com DocumentRoot /home/lz/py/hg-site Options FollowSymLinks ExecCGI AllowOverride All AuthUserFile /etc/hg/hgpasswd #AuthGroupFile /dev/null AuthName "My Repository" AuthType Basic Require valid-user #SetHandler mod_python #PythonDebug on #PythonPath "sys.path + ['/home/lz/py/hg-site']" #PythonHandler mod_py_frontend #PythonOption BASE_HG_PATH "/opt/beta/hg" SetEnv BASE_HG_PATH /opt/beta/hg ErrorLog /var/log/apache2/hg-error.log LogLevel warn CustomLog /var/log/apache2/hg-access.log combined