aboutsummaryrefslogtreecommitdiff
path: root/gn/services/gn1-httpd-config.scm
diff options
context:
space:
mode:
authorPjotr Prins2021-02-19 09:12:34 +0000
committerPjotr Prins2021-02-19 09:12:34 +0000
commitb08410a9944e677ef71267410b235ba869f3935f (patch)
tree7128390f63076955743f8a7976e414d80a0b6cbc /gn/services/gn1-httpd-config.scm
parent42c3bbbfbfb2c14c99ab26bd6ca98576e6dd319b (diff)
downloadguix-bioinformatics-b08410a9944e677ef71267410b235ba869f3935f.tar.gz
mod_python session path fix
Diffstat (limited to 'gn/services/gn1-httpd-config.scm')
-rw-r--r--gn/services/gn1-httpd-config.scm18
1 files changed, 13 insertions, 5 deletions
diff --git a/gn/services/gn1-httpd-config.scm b/gn/services/gn1-httpd-config.scm
index a466097..6b2397d 100644
--- a/gn/services/gn1-httpd-config.scm
+++ b/gn/services/gn1-httpd-config.scm
@@ -62,6 +62,13 @@
("alias_module" "modules/mod_alias.so")
("rewrite_module" "modules/mod_rewrite.so"))))
+; Alternative setup
+; (let* ((gn1-user "wrk")
+; (gn1-source "/home/wrk/gn1-pjotr/gnshare/gn")
+; (gn1-server "gn1-pjotr.genenetwork.org")
+; (gn1-port "8043"))
+
+
(define GN1-httpd-config
(let* ((gn1-user "gn1")
(gn1-source (string-append "/home/" gn1-user "/production/gnshare/gn"))
@@ -117,12 +124,13 @@ NameVirtualHost *:" gn1-port "
PythonHandler " gn1-source "/web/webqtl/main.py
#PythonHandler mod_python.publisher
#PythonHandler mod_python.cgihandler
+ PythonOption mod_python.session.session_type FileSession
# only while debugging:
- PythonOption mod_python.session.session_type MemorySession
PythonDebug On
</Directory>
# only while debugging:
-<Location /mpinfo>
- SetHandler python-program
- PythonHandler mod_python.testhandler
-</Location>")))))
+# <Location /mpinfo>
+# SetHandler python-program
+# PythonHandler mod_python.testhandler
+# </Location>"
+)))))