Changes between Version 4 and Version 5 of TracPlugins


Ignore:
Timestamp:
Nov 4, 2008, 9:55:19 PM (16 years ago)
Author:
trac
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracPlugins

    v4 v5  
    7171
    7272==== Enabling the plugin ====
    73 Unlike plugins installed per-environment, you'll have to explicitly enable globally installed plugins via [wiki:TracIni trac.ini]. This is done in the `[components]` section of the configuration file, for example:
     73Unlike plugins installed per-environment, you'll have to explicitly enable globally installed plugins via [wiki:TracIni trac.ini]. This also applies to plugins installed in the path specified in the `[inherit] plugins_dir` configuration option. This is done in the `[components]` section of the configuration file, for example:
    7474{{{
    7575[components]
     
    120120   SetHandler mod_python
    121121   ...
    122    SetEnv PYTHON_EGG_CACHE /path/to/dir
     122   PythonOption PYTHON_EGG_CACHE /path/to/dir
    123123 </Location>
    124124}}}
    125125
    126  ''Note: this requires the `mod_env` module''
     126 ''Note: SetEnv requires the `mod_env` module which needs to be activated for Apache. In this case the SetEnv directive can also be used in the `mod_python` Location block.''
    127127
    128128For [wiki:TracFastCgi FastCGI], you'll need to `-initial-env` option, or whatever is provided by your web server for setting environment variables.
    129129
    130  ''Note: that if you already use -initial-env to set the project directory for either a single project or parent you will need to add atleast one environment variable inside trac.fcgi as expressed in the example on [wiki:TracFastCgi TracFastCgi].
     130 ''Note: that if you already use -initial-env to set the project directory for either a single project or parent you will need to add an additional -initial-env directive to the FastCgiConfig directive. I.e.
     131
     132{{{
     133FastCgiConfig -initial-env TRAC_ENV=/var/lib/trac -initial-env PYTHON_EGG_CACHE=/var/lib/trac/plugin-cache
     134}}}
    131135
    132136=== About hook scripts ===
     
    152156
    153157=== Is the plugin enabled? ===
     158
    154159
    155160If you install a plugin globally (i.e. ''not'' inside the `plugins` directory of the Trac project environment) you will have to explicitly enable it in [TracIni trac.ini]. Make sure that: