hi all,
i have a current problem with my mod_wsgi setting for running trac ...
situation:
employee 1 = a
employee 2 = b
employee 3 = c
a visits trac/project1
b visits trac/project2
but b gets trac/project1 served
when 'c' interacts in this session
so c visits trac/project3
if this happens ... a & b both get served trac/project3
the current apache vhost (minimal)
<VirtualHost xxx.xxx.xxx.xxx:443>
ServerName trac.xxxx
DocumentRoot /var/www/
SSLEngine on
SSLCertificateFile /etc/apache2/cert/server.crt
SSLCertificateKeyFile /etc/apache2/cert/server.key
SSLCertificateChainFile /etc/apache2/cert/DigiCertCA.crt
#### local wsgi settings ####
<Directory /usr/local/trac>
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
#### system trac ####
WSGIScriptAlias /system /usr/local/trac/system.wsgi
<Location "/system">
AuthType Basic
AuthName "DigitalBase.be 3 system trac"
AuthUserFile /data/trac/passwd/trac-system
</Location>
#### mice trac ####
WSGIScriptAlias /mice /usr/local/trac/mice.wsgi
<Location "/mice">
AuthType Basic
AuthName "DigitalBase.be mice trac"
AuthUserFile /data/trac/passwd/trac-mice
Require valid-user
</Location>
</VirtualHost>
### other info
[EMAIL PROTECTED]:~$ cat /usr/local/trac/system.wsgi
#!/usr/bin/python
import sys
#sys.stdout = sys.stderr
import os
os.environ['TRAC_ENV'] = '/data/trac/system'
import trac.web.main
application = trac.web.main.dispatch_request
---
[EMAIL PROTECTED]:~$ cat /usr/local/trac/mice.wsgi
#!/usr/bin/python
import sys
#sys.stdout = sys.stderr
import os
os.environ['TRAC_ENV'] = '/data/trac/mice'
import trac.web.main
application = trac.web.main.dispatch_request
### software used
Apache/2.2.3 (Ubuntu) DAV/2 SVN/1.4.3 mod_ssl/2.2.3 OpenSSL/0.9.8c
mod_wsgi/2.0 Python/2.5.1 Server
Thanks in advance,
Jan De Coster
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---