summaryrefslogtreecommitdiff
path: root/docs/config-directives/WSGIPythonEggs.rst
blob: ad87df7307a6c3df0db09ae846fb68f4dee69e9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
==============
WSGIPythonEggs
==============

:Description: Directory to use for Python eggs cache.
:Syntax: ``WSGIPythonEggs`` *directory*
:Context: server config

Used to specify the directory to be used as the Python eggs cache directory
for all sub interpreters created within embedded mode. This directive
achieves the same affect as having set the ``PYTHON_EGG_CACHE``
environment variable.

Note that the directory specified must exist and be writable by the user
that the Apache child processes run as. The directive only applies to
mod_wsgi embedded mode. To set the Python eggs cache directory for mod_wsgi
daemon processes, use the 'python-eggs' option to the WSGIDaemonProcess
directive instead.