Edgewall Software

Changes between Version 75 and Version 76 of TracModWSGI


Ignore:
Timestamp:
Feb 15, 2016, 12:01:05 PM (8 years ago)
Author:
vijay@…
Comment:

Added section with solution to missing headers and footers.

Legend:

Unmodified
Added
Removed
Modified
  • TracModWSGI

    v75 v76  
    435435//This is not a recommended approach though. See also the notes at the bottom of the [http://code.google.com/p/modwsgi/wiki/IntegrationWithTrac mod_wsgi's IntegrationWithTrac] wiki page.//
    436436
     437=== Missing Headers and Footers
     438
     439If python optimizations are turned on, then headers and footers will not be rendered.
     440
     441In your WSGI mod configuration file, the `WSGIPythonOptimize` setting must be set to `0` as follows (`1` or `2` will not work):
     442
     443{{{#!apache
     444    WSGIPythonOptimize 0
     445}}}
     446
     447On Ubuntu, the WSGI mod configuration is at `/etc/apache2/mods-enabled/wsgi.conf`.
     448
     449NOTE: This is the WSGI equivalent of the same issue that happens with `PythonOptimize On` (see [trac:#8956]).
     450
    437451=== Other resources
    438452