Changes between Version 8 and Version 9 of TracWsgiPlugin


Ignore:
Timestamp:
Dec 17, 2013, 6:56:01 PM (10 years ago)
Author:
Ryan J Ollos
Comment:

Added page outline, syntax highlighting and maintainer.

Legend:

Unmodified
Added
Removed
Modified
  • TracWsgiPlugin

    v8 v9  
     1[[PageOutline(2-5,Contents,pullout)]]
    12= WSGI hacks for Trac =
    23
     
    2627=== Run trac with Paste ===
    2728To run Trac with Paste, put into a PasteDeploy script:
    28 {{{
     29{{{#!ini
    2930[app:main]
    3031use = egg:WSGITrac#trac
     
    3233}}}
    3334To serve all projects from /path/to/trac/env/parent via HTTPS use:
    34 {{{
     35{{{#!ini
    3536[app:projects]
    3637use = egg:WSGITrac#tracs
     
    4142=== Run WSGI webapps inside Trac ===
    4243To run 'myapp' on http://example.com/trac/something and 'thirdapp' on /trac/foobar, put into your trac.ini file:
    43 {{{
     44{{{#!ini
    4445[webapps]
    4546something = myapp
     
    5152=== Complete example ===
    5253Add to your trac.ini the following:
    53 {{{
     54{{{#!ini
    5455[app:main]
    5556use = egg:WSGITrac#trac
     
    6566
    6667Now you can run trac with whatever WSGI server you have (this example uses WSGIUtil server) by issuing:
    67 {{{
     68{{{#!sh
    6869 $ paster serve /path/to/your/trac.ini
    6970}}}
     
    7677
    7778'''Author:''' [wiki:martinpaljak] [[BR]]
     79'''Maintainer:''' //none// [[BR]]
    7880'''Contributors:'''