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