about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBonfaceKilz2021-01-08 14:45:32 +0300
committerGitea2021-01-12 14:09:34 -0600
commita63306a1b15ce60b93db1ef83e5cff954f6b85f5 (patch)
tree642161d373e6f276a6e31d1c12e31a9c7421b45f
parente56e6f5efb1b00744aa5823337744fa0dd528deb (diff)
downloadguix-bioinformatics-a63306a1b15ce60b93db1ef83e5cff954f6b85f5.tar.gz
gn: services: gn1-httpd-config: Replace SetHandler with AddHandler
* gn/services/gn1-httpd-config.scm (GN1-httpd-config): Use "AddHandler
mod_python .py". This allows all python modules and submodules to be loaded by
modpython.
-rw-r--r--gn/services/gn1-httpd-config.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gn/services/gn1-httpd-config.scm b/gn/services/gn1-httpd-config.scm
index 5de0041..11d8fbc 100644
--- a/gn/services/gn1-httpd-config.scm
+++ b/gn/services/gn1-httpd-config.scm
@@ -108,8 +108,8 @@ NameVirtualHost *:8042
 <Directory " genenetwork1 "/web/webqtl>
   PythonOption session FileSession
   #what is the difference between these two?
-  #AddHandler mod_python .py
-  SetHandler python-program
+  AddHandler mod_python .py
+  #SetHandler python-program
   #publisher has more debug information
   PythonHandler " genenetwork1 "/web/webqtl/main.py
   #PythonHandler mod_python.publisher