anchor.diff:    RewriteCond %{SCRIPT_FILENAME} !maintenance.html
     RewriteRule ^.*$ /system/maintenance.html [L]
     
  -  <% if @node[:chef][:roles].include?('blog') && @docroot == "/var/www/apps/fr2_blog/public" %>
  +  <% if node[:chef][:roles].include?('blog') && @docroot == "/var/www/apps/fr2_blog/public" %>
     # wordpress blog  
     #RewriteRule ^blog\/search(.*) /index.php [P]
   
  
positive.code:   
    <Directory <%= @docroot %>>
      Options FollowSymLinks
      <%- if @node[:chef][:roles].include?('blog') && @docroot == "/var/www/apps/fr2_blog/public" -%>
      AllowOverride all
      <%- else -%>
      AllowOverride None
  
negative.code:     AllowOverride None
    </Directory>
    
    <% 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"
      AuthUserFile /etc/apache2/passwd/passwords
  