Edgewall Software

Changes between Version 137 and Version 138 of TracModPython


Ignore:
Timestamp:
Jul 29, 2008, 10:54:22 PM (16 years ago)
Author:
Jonas Borgström
Comment:

Document how to specify an alternate egg cache

Legend:

Unmodified
Added
Removed
Modified
  • TracModPython

    v137 v138  
    4747   PythonOption TracUriRoot /projects/myproject
    4848</Location>
    49 # The next option must be placed outside all Location and Virtualhost sections. 
    50 PythonOption PYTHON_EGG_CACHE /var/trac/myproject/egg-cache
    5149}}}
    5250
     
    6866    PythonOption TracUriRoot /projects/myproject
    6967}}}
     68
     69=== Python Egg Cache ===
     70
     71Compressed python eggs like Genshi are normally extracted into a directory named `.python-eggs` in the users home directory. Since apache's home usually is not writable an alternate egg cache directory can be specified like this:
     72{{{
     73PythonOption PYTHON_EGG_CACHE /var/trac/myprojects/egg-cache
     74}}}
     75Note: This option must be placed outside any `Location` and `VirtualHost` section. This option requires mod_python 3.3 or greater.
    7076
    7177=== Configuring Authentication ===