[omd-commits] OMD Git: omd: Check_MK: add local import path for modules

git version control git at mathias-kettner.de
Thu Jun 9 16:44:24 CEST 2011


Module:   omd
Branch:   master
Commit:   6c75a2705980869895b6f02df71862084dea10e2
URL:      http://omdistro.org/projects/omd/repository/revisions/6c75a2705980869895b6f02df71862084dea10e2

Author:   Mathias Kettner <mk at mathias-kettner.de>
Date:     Wed Jun  8 20:03:50 2011 +0200
Commiter: Mathias Kettner <mk at mathias-kettner.de>
Date:     Wed Jun  8 20:03:50 2011 +0200

Check_MK: add local import path for modules

---

 packages/check_mk/skel/etc/check_mk/apache.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/packages/check_mk/skel/etc/check_mk/apache.conf b/packages/check_mk/skel/etc/check_mk/apache.conf
index 855517d..7b1a983 100644
--- a/packages/check_mk/skel/etc/check_mk/apache.conf
+++ b/packages/check_mk/skel/etc/check_mk/apache.conf
@@ -26,6 +26,7 @@ Alias /###SITE###/check_mk/agents ###ROOT###/share/check_mk/agents
   <Directory ###ROOT###/share/check_mk/web/htdocs>
         AddHandler mod_python .py
         PythonHandler index
+        PythonOption mod_python.importer.path "['###ROOT###/local/share/check_mk/web/htdocs']"
         PythonInterpreter ###SITE###
         DirectoryIndex index.py
 



More information about the omd-commits mailing list