title: Just missing on Apple PHP configuration using mod_rewrite
body: <p>I'm trying to rework a legacy site by converting .html to .php for ease of future configuration.  To accomplish this I'm working within the Apache server on my Mac OS X 10.9 machine.  I've written an users.conf file uses mod_rewrite to remap the file names ending in .html to run as .php.  </p>
  
  <p>It was working fine when I left work yesterday, but today I get a "You don't have permission to access" error on the front end and a "[error] [client ::1] client denied by server configuration:" on the back end when I try to access localhost/~user/somefile.html.php  All of the file permissions are set correctly (644 or 755 as appropriate).</p>
  
  <p>Seems to only happen with files named somefile.html.php.  Files named .html load fine and files named .php load fine.  Apache version is 2.2.24.</p>
  
  <p>Here is user.conf:</p>
  
  <pre><code>&lt;Directory "/Users/user/Sites/mySite"&gt;
      Options Indexes MultiViews FollowSymlinks
      AllowOverride All
      Order allow,deny
      Allow from all
  &lt;/Directory&gt;
  
  &lt;Directory "/Users/user/Sites/mySite"&gt;
             RewriteEngine on
             RewriteCond %{REQUEST_FILENAME}.php -f
             RewriteRule ^(.*\.html) $1.php
  &lt;/Directory&gt;
  </code></pre>
  
  <p>And here is relevant part of httpd.conf:</p>
  
  <pre><code>DocumentRoot "/Users/user/Sites"
  LoadModule php5_module libexec/apache2/libphp5.so
  &lt;Directory /&gt;
      Options FollowSymLinks
      AllowOverride None
      Order deny,allow
      Deny from all
  &lt;/Directory&gt;
  
  &lt;Directory "/Users/user/Sites"&gt;
      Options Indexes FollowSymLinks MultiViews
      AllowOverride All
      Order allow,deny
      Allow from all
  &lt;/Directory&gt;
  </code></pre>
  
  <p>Maybe I've mixed together too many tutorials?</p>