From d93bca50389b5f122a3e5f66c175749803263505 Mon Sep 17 00:00:00 2001 From: pjotrp Date: Sat, 17 Dec 2022 12:12:01 -0600 Subject: GN1: find guix-profile --- gn/services/gn1-httpd-config.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gn') 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 " # 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 -- cgit v1.2.3