Changes between Version 8 and Version 9 of TracWsgiPlugin
- Timestamp:
- Dec 17, 2013, 6:56:01 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracWsgiPlugin
v8 v9 1 [[PageOutline(2-5,Contents,pullout)]] 1 2 = WSGI hacks for Trac = 2 3 … … 26 27 === Run trac with Paste === 27 28 To run Trac with Paste, put into a PasteDeploy script: 28 {{{ 29 {{{#!ini 29 30 [app:main] 30 31 use = egg:WSGITrac#trac … … 32 33 }}} 33 34 To serve all projects from /path/to/trac/env/parent via HTTPS use: 34 {{{ 35 {{{#!ini 35 36 [app:projects] 36 37 use = egg:WSGITrac#tracs … … 41 42 === Run WSGI webapps inside Trac === 42 43 To run 'myapp' on http://example.com/trac/something and 'thirdapp' on /trac/foobar, put into your trac.ini file: 43 {{{ 44 {{{#!ini 44 45 [webapps] 45 46 something = myapp … … 51 52 === Complete example === 52 53 Add to your trac.ini the following: 53 {{{ 54 {{{#!ini 54 55 [app:main] 55 56 use = egg:WSGITrac#trac … … 65 66 66 67 Now you can run trac with whatever WSGI server you have (this example uses WSGIUtil server) by issuing: 67 {{{ 68 {{{#!sh 68 69 $ paster serve /path/to/your/trac.ini 69 70 }}} … … 76 77 77 78 '''Author:''' [wiki:martinpaljak] [[BR]] 79 '''Maintainer:''' //none// [[BR]] 78 80 '''Contributors:'''