id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,branch,changelog,apichanges,internalchanges 469,support arbitrary-length Trac URLs from trac.cgi,ljb@…,Jonas Borgström,"hi, we're currently using Trac as part of an integrated solution for large amounts of Su bversion repositories. we use a Subversion repository per-project, and mod_rewrite magic to dispatch to the correct Trac installation (using the E: modifier for RewriteRule). our Trac URLs take the form: https://svn.ourcompany.com/trac///TRAC/XTRA/STUFF one of the RewriteRules looks something like: RewriteRule ^[/]+trac/(.*?)/([^/]+)/?(.*)$ /usr/share/trac/cgi-bin/trac.cgi/$3 [E=TRAC_ENV:/data/svn/trac/$1/$2,L] as you can see, trac.cgi still gets a PATH_INFO of the form /TRAC/EXTRA/STUFF this all works fine, except for login/logout. we need the extra bit so that our auth scheme dispatches to the correct matcher for per-project auth. however, trac expects PATH_INFO for login/logout to be solely the ""/login"" or ""/logout"" strings. we've patched it /usr/lib/python2.3/site-packages/trac/core.py locally to just check the end of the string, but i was wondering if you would consider doing this upstream? as far as i can see, this would not impact on anything else. in real_cgi_start(), we have these two replacement lines: if path_info[-7:] == '/logout': and if path_info[-6:] == '/login': ",defect,closed,normal,,general,0.7,normal,wontfix,,,,,,