diff options
Diffstat (limited to 'templates/vhosts/perl/partial.erb')
-rw-r--r-- | templates/vhosts/perl/partial.erb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/vhosts/perl/partial.erb b/templates/vhosts/perl/partial.erb index 888c268..7ed3e71 100644 --- a/templates/vhosts/perl/partial.erb +++ b/templates/vhosts/perl/partial.erb @@ -1,15 +1,15 @@ - <Directory "<%= documentroot %>/"> + <Directory "<%= @documentroot %>/"> <%= scope.function_template(['apache/vhosts/partials/std_override_options.erb']) %> <%= scope.function_template(['apache/vhosts/partials/authentication.erb']) %> </Directory> -<% unless htpasswd_file.to_s == 'absent' -%> - <Directory "<%= cgi_binpath %>/"> +<% unless @htpasswd_file.to_s == 'absent' -%> + <Directory "<%= @cgi_binpath %>/"> AuthType Basic - AuthName "Access fuer <%= servername %>" - AuthUserFile <%= real_htpasswd_path %> + AuthName "Access fuer <%= @servername %>" + AuthUserFile <%= @real_htpasswd_path %> require valid-user </Directory> <% end -%> - ScriptAlias /cgi-bin/ <%= cgi_binpath %>/ + ScriptAlias /cgi-bin/ <%= @cgi_binpath %>/ |