Edgewall Software
Modify

Opened 18 years ago

Closed 16 years ago

#2866 closed defect (worksforme)

TracEnvParentDir breaks when using a particular project name

Reported by: michael@… Owned by: Christopher Lenz
Priority: normal Milestone:
Component: web frontend/mod_python Version: 0.9.4
Severity: normal Keywords: TracEnvParentDir
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christopher Lenz)

This report concerns Trac served by Apache with mod_python. Here is an example for the problem: Suppose you have configured Apache to serve Trac projects at http://localhost/trac/parentdirtest/projectname using the TracEnvParentDir directive. The config would look like:

        <Location /trac/parentdirtest>
                SetHandler mod_python
                PythonHandler trac.web.modpython_frontend
                PythonOption TracEnvParentDir /srv/trac/parentdirtest
                PythonOption TracUriRoot /trac/parentdirtest
        </Location>

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.

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 http://localhost/trac/parentdirtest you will see something like a broken Trac project (see attached screenshot).

Attachments (1)

parentdirtest.png (121.6 KB ) - added by michael@… 18 years ago.

Download all attachments as: .zip

Change History (5)

by michael@…, 18 years ago

Attachment: parentdirtest.png added

comment:1 by Christopher Lenz, 18 years ago

Description: modified (diff)

(description fixed)

comment:2 by Christian Boos, 17 years ago

Component: generalmod_python frontend
Keywords: TracEnvParentDir added
Milestone: 1.0
Owner: changed from Jonas Borgström to Christopher Lenz

comment:3 by osimons, 16 years ago

Milestone: 1.0

Tested this with current 0.11b1+ and can't recreate it. So many things have changed since 0.9.4, that unless someone can recreate this issue with a recent/semi-recent version, I'm going to close this ticket as 'worksforme'.

comment:4 by osimons, 16 years ago

Resolution: worksforme
Status: newclosed

Closing as 'worksforme' as I can't re-create the problem using a current version.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.