wiki:TracWsgiPlugin

Version 1 (modified by martinpaljak, 7 years ago) (diff)

New hack TracWsgiPlugin, created by martinpaljak

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

In a Paste deploy script, to run Trac:

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

In trac.ini, to run some other app:

[webapps]
something = myapp
#something = config:/path/to/some/paste.ini
[app:myapp]

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: