Edgewall Software

Changes between Version 42 and Version 43 of TracModPython


Ignore:
Timestamp:
Sep 29, 2005, 11:16:19 AM (19 years ago)
Author:
gregor.rosenauer@…
Comment:

clearified issue with different PythonHandlers

Legend:

Unmodified
Added
Removed
Modified
  • TracModPython

    v42 v43  
    1616<Location /projects/myproject>
    1717   SetHandler mod_python
    18    #The line below doesn't work?
    19    #PythonHandler trac.web.modpython_frontend
    20    #The line below does
     18   # Note: The Handler name has changed in trac 0.9, to:
     19   # PythonHandler trac.web.modpython_frontend
     20   # For the latest stable 0.8.4 release, use this one:
    2121   PythonHandler trac.ModPythonHandler
    2222   PythonOption TracEnv /var/trac/myproject
     
    2424</Location>
    2525}}}
     26See [wiki:TracUpgrade#From0.8.xto0.9] for details on the changes in `PythonHandler`.
    2627
    2728Note that the option `TracUriRoot` may or may not be necessary in your setup. Try without first, and if the URLs produced by Trac look wrong or if Trac does not seem to recognize the URLs correctly, add the `TracUriRoot` option.
     
    5253<Location /projects>
    5354  SetHandler mod_python
    54   #The line below doesn't work?
     55  # use for trac => 0.9
    5556  #PythonHandler trac.web.modpython_frontend
    56   #The line below does
     57  # use for latest stable release 0.8.4
    5758  PythonHandler trac.ModPythonHandler
    5859  PythonOption TracEnvParentDir /var/trac