diff options
author | Efraim Flashner | 2020-06-11 07:12:52 -0500 |
---|---|---|
committer | Efraim Flashner | 2020-06-11 07:13:39 -0500 |
commit | 4c1a7bd89e146536e9afe62c27ab0bc65538d111 (patch) | |
tree | 8a875f7e66da34e9e52a30ae22cc1d89c372bf41 /gn/services | |
parent | ba2b3c4064dc2560f4c7497e40fa74b1108c11f6 (diff) | |
download | guix-bioinformatics-4c1a7bd89e146536e9afe62c27ab0bc65538d111.tar.gz |
genenetwork1: default to httpd-2.2
Diffstat (limited to 'gn/services')
-rw-r--r-- | gn/services/genenetwork.scm | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/gn/services/genenetwork.scm b/gn/services/genenetwork.scm index 1998603..ac7ead4 100644 --- a/gn/services/genenetwork.scm +++ b/gn/services/genenetwork.scm @@ -12,7 +12,7 @@ "/lib/python2.4/site-packages") (define %mod-python-path - (file-append httpd-mod-python-24 %python-path)) + (file-append httpd22-mod-python-24 %python-path)) (define %default-httpd22-modules (map (match-lambda @@ -93,19 +93,27 @@ (services (list (service httpd-service-type (httpd-configuration - (package httpd-mod-python-24) ; Must be this package! + (package httpd22-mod-python-24) ; Must be httpd-2.2? (config (httpd-config-file (server-name "www.genenetwork.org") + (server-root httpd22-mod-python-24) ; Defaults to httpd, must be combo package. + (user "nobody") + (group "root") + (pid-file "/tmp/httpd-genenetwork1") + (error-log "/tmp/httpd-genenetwork1-error-log") (document-root (file-append genenetwork1 "/web")) (listen '("8042")) (modules (cons* (httpd-module (name "python_module") (file "modules/mod_python.so")) - %default-httpd-modules)) + %default-httpd22-modules)) (extra-config (list "\ TypesConfig etc/httpd/mime.types +#for apache-2.2, ignored by apache-2.4 +DefaultType application/octet-stream +# Should PythonPath just be genenetwork1/web/webqtl? PythonPath \"sys.path+['" (file-append python-2.4 "/lib/python2.4") "', '" %mod-python-path "', '" (file-append genenetwork1 "/web/webqtl") "']\" <Directory " (file-append genenetwork1 "/web/webqtl") "> AddHandler mod_python .py |