Changes between Version 2 and Version 3 of TracWsgiPlugin
- Timestamp:
- Apr 1, 2007, 6:18:23 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracWsgiPlugin
v2 v3 25 25 == Example == 26 26 27 In a Paste deploy script, to run Trac:27 To run Trac with Paste, put into a PasteDeploy script: 28 28 {{{ 29 29 [app:main] 30 use = egg: TracWsgiPlugin#trac31 path = /path/to/ trac/env30 use = egg:WSGITrac#trac 31 path = /path/to/your/trac/env 32 32 }}} 33 33 34 In trac.ini, to run some other app:34 To run 'myapp' on http://example.com/trac/something and 'thirdapp' on /trac/foobar, put into your trac.ini file: 35 35 {{{ 36 36 [webapps] 37 37 something = myapp 38 #something = config:/path/to/some/paste.ini 38 foobar = config:/path/to/some/paste.ini#thirdapp 39 39 [app:myapp] 40 40 use = egg:YourEgg#yourapp 41 41 }}} 42 Now http://your.host/your/trac/something runs myapp43 44 42 45 43 == Recent Changes ==