blob: 7ed3e71c56120dcc6f9998c37bd4e01fc864dc82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<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 %>/">
AuthType Basic
AuthName "Access fuer <%= @servername %>"
AuthUserFile <%= @real_htpasswd_path %>
require valid-user
</Directory>
<% end -%>
ScriptAlias /cgi-bin/ <%= @cgi_binpath %>/
|