From 392ff8c6a909ca32431b9b65aae89c9138375330 Mon Sep 17 00:00:00 2001 From: mh Date: Sun, 30 Nov 2008 15:36:14 +0000 Subject: correct passwd file path --- templates/vhosts/php/CentOS.erb | 2 +- templates/vhosts/static/OpenBSD.erb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/vhosts') diff --git a/templates/vhosts/php/CentOS.erb b/templates/vhosts/php/CentOS.erb index 43aad94..26cbe23 100644 --- a/templates/vhosts/php/CentOS.erb +++ b/templates/vhosts/php/CentOS.erb @@ -18,7 +18,7 @@ <%- unless htpasswd_file.to_s == 'absent' then -%> AuthType Basic AuthName "Access fuer <%= servername %>" - AuthUserFile <%= htpasswd_path %> + AuthUserFile <%= real_htpasswd_path %> require valid-user <%- end -%> php_admin_flag engine on diff --git a/templates/vhosts/static/OpenBSD.erb b/templates/vhosts/static/OpenBSD.erb index 94ec206..09eec6a 100644 --- a/templates/vhosts/static/OpenBSD.erb +++ b/templates/vhosts/static/OpenBSD.erb @@ -23,7 +23,7 @@ <%- unless htpasswd_file.to_s == 'absent' then -%> AuthType Basic AuthName "Access fuer <%= servername %>" - AuthUserFile <%= htpasswd_path %> + AuthUserFile <%= real_htpasswd_path %> require valid-user <%- end -%> @@ -58,7 +58,7 @@ <%- unless htpasswd_file.to_s == 'absent' then -%> AuthType Basic AuthName "Access fuer <%= servername %>" - AuthUserFile <%= htpasswd_path %> + AuthUserFile <%= real_htpasswd_path %> require valid-user <%- end -%> -- cgit v1.2.3