blob: 8c1f0a5a87b9974b10ded89d43bb4377477167b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<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 %>/
|