Ticket #271 (closed defect: fixed)
Bad URL when using Apache's TracEnvParentDir
| Reported by: | tiennou7@… | Owned by: | moschny |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | trac.tracnav | Version: | tracnav-devel |
| Severity: | major | Keywords: | |
| Cc: |
Description
The URL generated by clicking on the "edit" link is not aware of the fact that it needs to add the trac env path to get to the wiki...
Let me explain : I have configured my Apache server to serve Trac's from /var/trac (currently there is only one project, /var/trac/myproject) using TracEnvParentDir. This means that connecting to http://localhost shows me a list of Trac's from /var/trac. When I access http://localhost/myproject and click on the "edit" link of the TracNav, I get redirected to http://localhost/wiki/TOC?action=edit instead of http://localhost/myproject/wiki/TOC?action=edit which displays "Environment not found" (quite confusing)
I'm using Trac 0.11dev and TracNav 4.0pre1.
Attachments
Change History
comment:3 Changed 6 years ago by moschny
Note that 3.92 is for Trac 0.10, while 4.0preX is for Trac 0.11. You used the wrong svn location. Please see TracNav/DownloadAndInstall for instructions.
Meanwhile, I made a new egg which is available on that page, too.

Should be fixed in [3157], please try.