Skip to content
Myr

Updated mod_wsgi docs to reference the sys.path hackery

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent c90858a · Browse files · 1 file+6 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−1 removed

  • other:+6 added−1 removed

1 file+6 added−1 removed

modified:docs/deploying/mod_wsgi.rst+6 added-1 removed
59 unmodified lines
60Store that file somewhere that you will find it again (e.g.:61`/var/www/yourapplication`) and make sure that `yourapplication` and all62the libraries that are in use are on the python load path. If you don't63want to install it system wide consider using a `virtual python`_64instance.64instance. Keep in mind that you will have to actually install your65application into the virtualenv as well. Alternatively there is the66option to just patch the path in the `.wsgi` file before the import::6768 import sys69 sys.path.insert(0, '/path/to/the/application')7071Configuring Apache72------------------7374The last thing you have to do is to create an Apache configuration file
98 unmodified lines