blob: f75bf3fbdbb65169f12073e35f939f1b73226ecc (
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 %>/
|