aboutsummaryrefslogtreecommitdiff
path: root/gn/services
diff options
context:
space:
mode:
authorEfraim Flashner2020-08-03 14:18:51 +0300
committerEfraim Flashner2020-08-03 14:36:45 +0300
commit351e983a623162d353427fc8018e9fd372b5b901 (patch)
tree4adeccc98bcabb6407d2bf1dbb2270c65dd0068d /gn/services
parent63a01f4629e7fce0695e54cadc66075071d6c7a8 (diff)
downloadguix-bioinformatics-351e983a623162d353427fc8018e9fd372b5b901.tar.gz
gn: Upstream httpd22-mod-python-24 to guix-past.
Diffstat (limited to 'gn/services')
-rw-r--r--gn/services/genenetwork.scm14
1 files changed, 7 insertions, 7 deletions
diff --git a/gn/services/genenetwork.scm b/gn/services/genenetwork.scm
index bf295aa..7de1821 100644
--- a/gn/services/genenetwork.scm
+++ b/gn/services/genenetwork.scm
@@ -3,11 +3,10 @@
(use-modules (gnu)
(ice-9 match)
(past packages python)
+ (past packages web)
(gn packages genenetwork)
- (gn packages python24)
- (gn packages web))
+ (gn packages python24))
(use-service-modules web)
-(use-package-modules python)
(define %default-httpd22-modules
(map (match-lambda
@@ -90,12 +89,13 @@
(services (list (service httpd-service-type
(httpd-configuration
- (package httpd22-mod-python-24) ; Must be httpd-2.2
+ ;; Must be a httpd-2.2 variant.
+ (package httpd22-with-mod-python)
(config
(httpd-config-file
(server-name "www.genenetwork.org")
;; Defaults to httpd, should be same as 'package' above.
- (server-root httpd22-mod-python-24)
+ (server-root httpd22-with-mod-python)
(user "nobody")
(group "root")
;; Only while debugging
@@ -108,10 +108,10 @@
(file "modules/mod_python.so"))
%default-httpd22-modules))
(extra-config (list "\
-TypesConfig " httpd22-mod-python-24 "/etc/httpd/mime.types
+TypesConfig " httpd22-with-mod-python "/etc/httpd/mime.types
DefaultType application/octet-stream
# DocumentRoot MUST NOT be in the PythonPath. Because genenetwork1 must be in PythonPath we leave the document-root keyword above unset.
-PythonPath \"['/run/current-system/profile/lib/python2.4', '/run/current-system/profile/lib/python2.4/site-packages', '" httpd22-mod-python-24 "/lib/python2.4/site-packages', '" genenetwork1 "/web/webqtl']\"
+PythonPath \"['/run/current-system/profile/lib/python2.4', '/run/current-system/profile/lib/python2.4/site-packages', '" httpd22-with-mod-python "/lib/python2.4/site-packages', '" genenetwork1 "/web/webqtl']\"
# same as 'listen' above
NameVirtualHost *:8042
<VirtualHost *:8042>