Edgewall Software

Changes between Version 30 and Version 31 of TracModPython


Ignore:
Timestamp:
Jul 11, 2005, 6:29:25 PM (19 years ago)
Author:
Christopher Lenz
Comment:

Some cleanup and clarifications

Legend:

Unmodified
Added
Removed
Modified
  • TracModPython

    v30 v31  
    121121Alias /trac/ /usr/share/trac/htdocs/
    122122<Directory "/usr/share/trac/htdocs">
    123    Options Indexes MultiViews
    124    AllowOverride None
    125123   Order allow,deny
    126124   Allow from all
     
    130128   SetHandler mod_python
    131129   PythonHandler trac.ModPythonHandler
     130   PythonOption TracEnvParentDir "/var/trac"
    132131   PythonOption TracUriRoot /
    133    PythonOption TracEnvParentDir "/var/trac"
    134132</Location>
    135133
     
    159157To add a new project, you'll have to create a new user in the user file.  Then, create a new group for the project in the group file.  Finally, create a new <Location> block with a new {{{Require group}}} directive.  That's about it.
    160158
    161 Note:  It's untested, but you might be able to use the following setup to authenticate any number of projects:
    162 
    163 {{{
    164 <LocationMatch "/[[:alnum:]]+/login">
     159You can also use the same authentication realm for all of the projects using a {{{<LocationMatch>}}} directive:
     160
     161{{{
     162<LocationMatch "/[^/]+/login">
    165163   ...
    166164</LocationMatch>
    167165}}}
    168166
    169 
    170167== Troubleshooting ==
    171168
     
    183180
    184181When using mod_python you have to reload apache before changes to a trac.ini of a project or a projects templates take effect!
     182
     183 ''Note: This doesn't apply to the current development version (0.9pre), where the configuration is reloaded automatically if it has changed.''
    185184
    186185=== Win32 Issues ===