
kamin at embedded
Nov 27, 2009, 4:24 AM
Post #1 of 2
(247 views)
Permalink
|
|
Multiple Tracs -> Browse Source -> Error
|
|
Hello! On our test-machine, we run two trac environments that are included as follows in our Apache httpd.conf LoadModule wsgi_module modules/mod_wsgi-win32-ap22py26-3.0c5.so LoadModule sspi_auth_module modules/mod_auth_sspi.so WSGIScriptAlias /test "D:/trac/test/cgi-bin/trac.wsgi" <Directory "D:/trac/test/cgi-bin"> WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all </Directory> <Location /test/login> AuthType SSPI AuthName "Test Login" SSPIAuth On SSPIAuthoritative On SSPIDomain IXI SSPIOfferBasic On SSPIOmitDomain On SSPIBasicPreferred On Require valid-user # Require group "IXI\\mc_square" </Location> WSGIScriptAlias /mc_square "D:/trac/mc_square/cgi-bin/trac.wsgi" <Directory "D:/trac/mc_square/cgi-bin"> WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all </Directory> <Location /mc_square/login> AuthType SSPI AuthName "[mc]square Trac Login" SSPIAuth On SSPIAuthoritative On SSPIDomain IXI SSPIOfferBasic On SSPIOmitDomain On SSPIBasicPreferred On Require valid-user # Require group "IXI\\mc_square" </Location> Both run just fine until I click on browse source in mc_square, then I reach the other environment (and repository) and regardless of what I do I keep reaching that one even when closing the browser (which kills all cookies, etc.) and reopening the correct URL. This seems somewhat strange. Can anyone help me with that? For now I disabled the test environment by out-commenting it and restarted the Apache, which solved the problem. Best regards, Volker P.S.: the WSGI files are: import sys sys.stdout = sys.stderr import os os.environ['TRAC_ENV'] = 'D:/trac/mc_square' os.environ['PYTHON_EGG_CACHE'] = 'D:/trac/mc_square/eggs' import trac.web.main application = trac.web.main.dispatch_request and import sys sys.stdout = sys.stderr import os os.environ['TRAC_ENV'] = 'D:/trac/test' os.environ['PYTHON_EGG_CACHE'] = 'D:/trac/test/eggs' import trac.web.main application = trac.web.main.dispatch_request -- Dipl.-Inform. Volker Kamin RWTH Aachen University Embedded Software Laboratory Ahornstr. 55 52074 Aachen fon: +49 241 80 21157 fax: +49 241 80 22150 web: http://www.embedded.rwth-aachen.de/ -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users [at] googlegroups To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
|