Changes between Initial Version and Version 1 of Ticket #2866
- Timestamp:
- Mar 13, 2006, 4:24:45 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2866 – Description
initial v1 1 1 This report concerns Trac served by Apache with mod_python. 2 2 Here is an example for the problem: 3 Suppose you have configured Apache to serve Trac projects at http://localhost/trac/parentdirtest/projectname using the TracEnvParentDirdirective. The config would look like:3 Suppose you have configured Apache to serve Trac projects at http://localhost/trac/parentdirtest/projectname using the `TracEnvParentDir` directive. The config would look like: 4 4 5 {{{ 5 6 <Location /trac/parentdirtest> 6 7 SetHandler mod_python … … 9 10 PythonOption TracUriRoot /trac/parentdirtest 10 11 </Location> 12 }}} 11 13 12 With this example you would access projects at http://localhost/trac/parentdirtest/projectname. When using a non-existing project name or none at all, Trac will show you the project listing.14 With this example you would access projects at `http://localhost/trac/parentdirtest` projectname. When using a non-existing project name or none at all, Trac will show you the project listing. 13 15 14 16 This works fine as long as the directory containing the Trac projects, /srv/trac/parentdirtest/ in this case doesn't contain a project called parentdirtest. If it does, you can still access the other projects, but instead of the project listing at 15 http://localhost/trac/parentdirtestyou will see something like a broken Trac project (see attached screenshot).17 `http://localhost/trac/parentdirtest` you will see something like a broken Trac project (see attached screenshot).