diff options
Diffstat (limited to 'templates/vhosts/partials/authentication.erb')
-rw-r--r-- | templates/vhosts/partials/authentication.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/vhosts/partials/authentication.erb b/templates/vhosts/partials/authentication.erb index bf43a58..ed83221 100644 --- a/templates/vhosts/partials/authentication.erb +++ b/templates/vhosts/partials/authentication.erb @@ -1,6 +1,6 @@ -<% unless htpasswd_file.to_s == 'absent' -%> +<% unless @htpasswd_file.to_s == 'absent' -%> AuthType Basic - AuthName "Access fuer <%= servername %>" - AuthUserFile <%= real_htpasswd_path %> + AuthName "Access fuer <%= @servername %>" + AuthUserFile <%= @real_htpasswd_path %> require valid-user <% end -%> |