anchor.diff:      EnableSendfile <%= @params['enable_sendfile'] || 'On' %>
   
   <% if @params['http_auth']['type'] != 'none' %>
  -    <%= "Satisfy Any" if @type['version'] == '2.2' %>
  +    <%= "Satisfy Any" if !@type['version'] || @type['version'] == '2.2' %>
       AuthUserFile <%= @params['http_auth']['file'] || "#{@params['docroot']}/.htpasswd" %>
       AuthType <%= @params['http_auth']['type'].capitalize %>
       AuthName "<%= @params['http_auth']['realm'] %>"
  
positive.code: 
      <% if @params['probe_url'] %>
      SetEnvIf Request_URI ^<%= Regexp.escape(@params['probe_url']) %>$ noauth=1
        <% if @type['version'] == '2.2' %>
      Allow from env=noauth
        <% else %>
      Require env noauth
  
negative.code: 
      AllowOverride <%= @params['parse_htaccess'] ? "All" : "None" %>
  
  <% if !@type['version'] || @type['version'] == '2.2' %>
      <%= @params['allow_from'] ? @params['allow_from'].map { |ip| "    Allow from #{ip}\n" }.join("\n") : "" %>
      <%= 'Order allow,deny' if @params['allow_from'] || @params['http_auth']['type'] != 'none' %>
  <% else %>
  