close
Warning:
Error with navigation contributor "LoginModule"
- Timestamp:
-
Sep 16, 2012, 8:09:45 PM (12 years ago)
- Author:
-
trac
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v3
|
v4
|
|
360 | 360 | ''Note: using mod_wsgi 2.5 and Python 2.6.1 gave an Internal Server Error on my system (Apache 2.2.11 and Trac 0.11.2.1). Upgrading to Python 2.6.2 (as suggested [http://www.mail-archive.com/modwsgi@googlegroups.com/msg01917.html here]) solved this for me[[BR]]-- Graham Shanks'' |
361 | 361 | |
| 362 | If you plan to use `mod_wsgi` in embedded mode on Windows or with the MPM worker on Linux, then you'll even need version 0.3.4 or greater (see [trac:#10675] for details). |
| 363 | |
362 | 364 | === Getting Trac to work nicely with SSPI and 'Require Group' === |
363 | 365 | If like me you've set Trac up on Apache, Win32 and configured SSPI, but added a 'Require group' option to your apache configuration, then the SSPIOmitDomain option is probably not working. If its not working your usernames in trac are probably looking like 'DOMAIN\user' rather than 'user'. |
… |
… |
|
391 | 393 | }}} |
392 | 394 | |
| 395 | or |
| 396 | |
| 397 | {{{ |
| 398 | import trac.db.mysql_backend |
| 399 | trac.db.mysql_backend.MySQLConnection.poolable = False |
| 400 | }}} |
| 401 | |
393 | 402 | Now Trac drops the connection after serving a page and the connection count on the database will be kept minimal. |
394 | 403 | |
… |
… |
|
397 | 406 | === Other resources |
398 | 407 | |
399 | | For more troubleshooting tips, see also the [TracModPython#Troubleshooting mod_python troubleshooting] section, as most Apache-related issues are quite similar, plus discussion of potential [http://code.google.com/p/modwsgi/wiki/ApplicationIssues application issues] when using mod_wsgi. |
| 408 | For more troubleshooting tips, see also the [TracModPython#Troubleshooting mod_python troubleshooting] section, as most Apache-related issues are quite similar, plus discussion of potential [http://code.google.com/p/modwsgi/wiki/ApplicationIssues application issues] when using mod_wsgi. The wsgi page also has a [http://code.google.com/p/modwsgi/wiki/IntegrationWithTrac Integration With Trac] document. |
400 | 409 | |
401 | 410 | |