anchor.diff:    
     <Directory <%= @docroot %>>
       Options FollowSymLinks
  -    <%- if @node[:chef][:roles].include?('blog') -%>
  +    <%- if @node[:chef][:roles].include?('blog') && @docroot == "/var/www/apps/fr2_blog/public" -%>
       AllowOverride all
       <%- else -%>
       AllowOverride None
  
positive.code:     AllowOverride None
    </Directory>
    
    <% if @node[:chef][:roles].include?('blog') -%>
    <Directory <%= @node[:apache][:docroot] %>/blog/wp-admin>
      AuthType Basic
      AuthName "Restricted Access"
  
negative.code:     Order allow,deny
      Allow from all
      
      <%- if @node[:chef][:roles].include?('blog') && @docroot == "/var/www/apps/fr2_blog/public" -%>
      ErrorDocument 403 /blog/errors/403.html
      ErrorDocument 404 /blog/errors/404.html
      ErrorDocument 500 /blog/errors/500.html
  