httpd settings
<VirtualHost *:80>
ServerAdmin leo@xerial.org
ServerName trac.utgenome.org
DocumentRoot (root folder of the trac web server, e.g. /home/web/trac.utgenome.org)
ErrorLog logs/trac-utgenome-error_log
CustomLog logs/trac-utgenome-access_log common
RewriteEngine on
RewriteRule ^/$ /project [R]
<Location /project>
Options FollowSymLinks
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir (path to the trac env folder)
PythonOption TracUriRoot /project
SetEnv PYTHON_EGG_CACHE (path to the trac cache folder)
PythonDebug on
</Location>
<LocationMatch "/project/[^/]+/login">
AuthType Basic
AuthName "Trac"
AuthUserFile (path to the .htpasswd file)
Require valid-user
</LocationMatch>
</VirtualHost>