File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -54,3 +54,10 @@ Python interpreter doesn't actually log anything and will instead silently
54
54
fallback to using any Python installation it finds by seaching for
55
55
``python `` on the users ``PATH ``. This may not be the Python installation
56
56
or virtual environment you intended be used.
57
+
58
+ 2. The Apache configuration snippet generated as an example when running
59
+ the ``install-module `` sub command of ``mod_wsgi-express `` to install the
60
+ ``mod_wsgi.so `` into the Apache installation itself, will now output a
61
+ ``WSGIPythonHome `` directive for the Python installation or virtual
62
+ environment the mod_wsgi module was compiled against so that the correct
63
+ Python runtime will be used.
Original file line number Diff line number Diff line change @@ -2003,6 +2003,7 @@ def cmd_install_module(params):
2003
2003
shutil .copyfile (where (), target )
2004
2004
2005
2005
print ('LoadModule wsgi_module %s' % target )
2006
+ print ('WSGIPythonHome %s' % os .path .normpath (sys .prefix ))
2006
2007
2007
2008
def cmd_module_location (params ):
2008
2009
formatter = optparse .IndentedHelpFormatter ()
You can’t perform that action at this time.
0 commit comments