skarcha/tests — Issue #14: 15 - Trac multi-project strange beheavior 
Author: skarcha
Created: 2011-10-17 23:11:02+00:00
State: open

First i edited fcgi_frontend.py to bind a port:
"_fcgi.WSGIServer(dispatch_request, bindAddress=("localhost", 8000)).run()"
then i sued this cherokee config:

Directory /trac {
Handler fcgi {
ErrorHandler on
CheckFile off
Server localhost:8000 {
Env TRAC_ENV_PARENT_DIR "/var/lib/trac"
Interpreter "/var/www/localhost/cgi-bin/trac.fcgi"
}
}
}

Request "^/trac/[^/]+/chrome/common/(.*)$" {
Handler redir {
Show Rewrite "/trac/chrome/common/$1"
}
}
Request "^/trac/[^/]+/login/chrome/common/(.*)$" {
Handler redir {
Show Rewrite "/trac/chrome/common/$1"
}
}

Directory /trac/chrome/common {
Handler file
DocumentRoot /usr/share/trac/htdocs/
}

when i browse http://server/trac i have the projects list (correct) so when
i click in any project i have again the project list and the ur changed to
http://server/trac/projcetClicked so i can click again any project and
finally i have the trac page for the project with the url
http://server/trac/projectClicked/2ndprojectClicked of course this cause
more problems, trac cannot load all the files needed mainly format files.

Original link: http://code.google.com/p/cherokee/issues/detail?id=15