Ticket #271 (closed defect: fixed)
Bad URL when using Apache's TracEnvParentDir
|Reported by:||tiennou7@…||Owned by:||moschny|
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.