Changes between Version 30 and Version 31 of TracModPython
- Timestamp:
- Jul 11, 2005, 6:29:25 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracModPython
v30 v31 121 121 Alias /trac/ /usr/share/trac/htdocs/ 122 122 <Directory "/usr/share/trac/htdocs"> 123 Options Indexes MultiViews124 AllowOverride None125 123 Order allow,deny 126 124 Allow from all … … 130 128 SetHandler mod_python 131 129 PythonHandler trac.ModPythonHandler 130 PythonOption TracEnvParentDir "/var/trac" 132 131 PythonOption TracUriRoot / 133 PythonOption TracEnvParentDir "/var/trac"134 132 </Location> 135 133 … … 159 157 To 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. 160 158 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">159 You can also use the same authentication realm for all of the projects using a {{{<LocationMatch>}}} directive: 160 161 {{{ 162 <LocationMatch "/[^/]+/login"> 165 163 ... 166 164 </LocationMatch> 167 165 }}} 168 166 169 170 167 == Troubleshooting == 171 168 … … 183 180 184 181 When 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.'' 185 184 186 185 === Win32 Issues ===