summaryrefslogtreecommitdiff
path: root/templates/vhosts
diff options
context:
space:
mode:
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>