When running Trac on a server where mod_wsgi is configured in daemon road, Trac throws many errors of the form :"Premature end of script headers". I've looked into this, and it seems that there is a mismatch of versions of the expat library between Trac and Apache. Sadly, I am not in a position to rebuild Apache, which seems to be the only solution offered for this problem.
I'm wondering if any other solutions are possible. When I run in embedded mode, this problem disappears. Is it possible to configure a virtual host for Trac requests that runs in embedded mode, while other requests are handled by a host configured for daemon mode? We use daemon mode because of a Django project, so we don't have to restart the server when code is changed. But I don't know if setting thing up this way will solve the problem, or if such a setup is even possible.