This page (revision-1) was last changed on 18-Nov-2009 12:43 by JensKapitza 

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
1 18-Nov-2009 12:43 942 bytes JensKapitza Trac installation

Page References

Incoming links Outgoing links
Trac...nobody

Version management

Difference between version and

== 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>

}}}