diff options
Diffstat (limited to 'gn/services')
-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 |