Django python path with Apache and mod_python -
I'm trying to establish a review board that uses the demo, Apache 2.2 and Mod on WinXP -Again with
I have a default Python installed, but I want to use a different example. The default is c: / python25, but I want d: / xxx / python25. There is a configuration option to change the path of mod-python, but I do not want to recompile mod_python (as the code is in VCS and it can be placed anywhere). How do I fix it?
set path to "d: / xxx / python25; path" load module python_module module / mod_python.so
Before setting the environment variable Mod- Python is loaded, where Python finds lecture.
It does not seem to work syntax wrong?
Thank you.
If you are on the window, it is possible that he is referring to the registry for the path. Try viewing in the registry below:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Python \ PythonCore \ 2.5
Specifically, the subkeys , InstallPath
, Module
, and PythonPath
.
Comments
Post a Comment