From b08410a9944e677ef71267410b235ba869f3935f Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Fri, 19 Feb 2021 09:12:34 +0000 Subject: mod_python session path fix --- gn/services/gn1-httpd-config.scm | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'gn') 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 # only while debugging: - - SetHandler python-program - PythonHandler mod_python.testhandler -"))))) +# +# SetHandler python-program +# PythonHandler mod_python.testhandler +# " +))))) -- cgit v1.2.3