Edgewall Software

Changes between Version 62 and Version 63 of TracOnFedoraCore


Ignore:
Timestamp:
Jun 12, 2007, 6:04:28 PM (17 years ago)
Author:
Noah Kantrowitz
Comment:

Making example config suck less

Legend:

Unmodified
Added
Removed
Modified
  • TracOnFedoraCore

    v62 v63  
    4040
    4141{{{
    42 <LocationMatch /cgi-bin/trac\.f?cgi>
    43    SetEnv TRAC_ENV /srv/trac/foobar
    44 </LocationMatch>
    45 <IfModule mod_python.c>
    46 <Location /cgi-bin/trac.cgi>
     42<Location /trac> # The Location is the part after the host (http://example.com<Location>) that you want to serve the Trac site
    4743   SetHandler mod_python
    4844   PythonHandler trac.web.modpython_frontend
    49    PythonOption TracEnv /srv/trac/foobar
     45   PythonOption TracEnv /srv/trac/foobar # This is the folder you gave to trac-admin initenv earlier
     46   PythonOption TracUriRoot /trac # This is the same as the Location above
     47   SetEnv PYTHON_EGG_CACHE /tmp # This should be some writable temporary directory
     48   PythonInterpreter trac # This can be any string, but must be the same for all Trac instances on the same Apache install
    5049</Location>
    51 </IfModule>
    52 <Location "/cgi-bin/trac.cgi/login">
     50<Location /trac/login>
    5351   AuthType Basic
    5452   AuthName "alexandria"
    55    AuthUserFile /opt/trac/trac.htpasswd
     53   AuthUserFile /srv/trac/conf/trac.htpasswd
    5654   Require valid-user
    5755</Location>