== Trac ==
{{{ apt-get install trac-mercurial libapache2-mod-python }}}

{{{
trac-admin /path/to/trac/project initenv
}}}

== Apache2 Virtual Host ==

{{{
<VirtualHost *>
	ServerName trac.back2heaven.de
	ServerAlias trac.back2heaven.de
	
	DocumentRoot /mnt/trac.back2heaven.de/htdoc/
	<Location />
		PythonDebug on
        	SetHandler mod_python
        	PythonInterpreter main_interpreter
        	PythonHandler trac.web.modpython_frontend
        	PythonOption TracEnv /mnt/trac.back2heaven.de/trac
        	PythonOption TracUriRoot /
    	</Location>
    	<Location /login>
       		AuthType Basic
        	AuthName "MyTrac Server"
        	AuthUserFile  /mnt/trac.back2heaven.de/htpasswd
        	Require valid-user
    	</Location>

	ErrorLog /mnt/trac.back2heaven.de/log/apache2/error.log
	LogLevel warn
	CustomLog /mnt/trac.back2heaven.de/log/apache2/access.log combined

</VirtualHost>

}}}