diff options
author | pjotrp | 2022-12-17 12:12:01 -0600 |
---|---|---|
committer | pjotrp | 2022-12-17 12:12:01 -0600 |
commit | d93bca50389b5f122a3e5f66c175749803263505 (patch) | |
tree | 38de15ec23643287aba61449379c85c9411ba260 /gn/services/gn1-httpd-config.scm | |
parent | 0016f088d8c0564f7f3615277845a6b06b733ed2 (diff) | |
download | guix-bioinformatics-d93bca50389b5f122a3e5f66c175749803263505.tar.gz |
GN1: find guix-profilegn1
Diffstat (limited to 'gn/services/gn1-httpd-config.scm')
-rw-r--r-- | gn/services/gn1-httpd-config.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gn/services/gn1-httpd-config.scm b/gn/services/gn1-httpd-config.scm index a4d8dd5..6860728 100644 --- a/gn/services/gn1-httpd-config.scm +++ b/gn/services/gn1-httpd-config.scm @@ -66,7 +66,8 @@ ("rewrite_module" "modules/mod_rewrite.so")))) (define (GN1-httpd-config gn1-user cwd url gn1-port) - (let* ((gn1-source cwd)) + (let* ((gn1-source cwd) + (home (string-append "/home/" gn1-user))) (httpd-config-file (server-name url) ;; Defaults to httpd, should be same as 'package' above to launch service. @@ -111,7 +112,7 @@ NameVirtualHost *:" gn1-port " </VirtualHost> # CUSTOM: Add PHP 5 parsing (via CGI) handler and action -ScriptAlias /local-bin /run/current-system/profile/bin +ScriptAlias /local-bin " home "/.guix-profile/bin/ AddHandler application/x-httpd-php5 php html htm Action application/x-httpd-php5 /local-bin/php-cgi |