wiki:TracWsgiPlugin

Version 3 (modified by martinpaljak, 8 years ago) (diff)

--

WSGI hacks for Trac

Description

  • Provides a Paste application entry point with some configuration options to run Trac
  • Allows to hook other WSGI apps into trac URL space

Bugs/Feature Requests

Existing bugs and feature requests for TracWsgiPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out TracWsgiPlugin from here using Subversion, or browse the source with Trac.

Example

To run Trac with Paste, put into a PasteDeploy script:

[app:main]
use = egg:WSGITrac#trac
path = /path/to/your/trac/env

To run 'myapp' on http://example.com/trac/something and 'thirdapp' on /trac/foobar, put into your trac.ini file:

[webapps]
something = myapp
foobar = config:/path/to/some/paste.ini#thirdapp
[app:myapp]
use = egg:YourEgg#yourapp

Recent Changes

[11608] by rjollos on 2012-05-31 17:02:40
Refs #3966: Part of [11607] - Replaced calls to _open_environment with open_environment.
[11607] by rjollos on 2012-05-30 21:48:27
Refs #3966: Fixed incorrect package import (trac.web.main._open_environment existed in Trac 0.10, but does not exist in 0.11).
[2323] by martinpaljak on 2007-06-20 17:40:32
TracWsgiPlugin:

Include index.html

Author/Contributors

Author: martinpaljak
Contributors: