summaryrefslogtreecommitdiff
path: root/templates/vhosts
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-11-30 15:36:14 +0000
committermh <mh@immerda.ch>2008-11-30 15:36:14 +0000
commit392ff8c6a909ca32431b9b65aae89c9138375330 (patch)
tree0b8504526fd51c50f7e884498d3c05c373f4a0ed /templates/vhosts
parent64cb4ea11550492adbdd36765bb196c078302ac6 (diff)
correct passwd file path
Diffstat (limited to 'templates/vhosts')
-rw-r--r--templates/vhosts/php/CentOS.erb2
-rw-r--r--templates/vhosts/static/OpenBSD.erb4
2 files changed, 3 insertions, 3 deletions
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 -%>
</Directory>
@@ -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 -%>
</Directory>