title: .htaccess rules doesn't work for .php files but for .html works
body: <p>My very simple .htaccess rules doesn't work for .php files but for .html works fine.</p>
  
  <pre><code>RewriteEngine On
  RewriteRule ^about$ about.html [NC]
  </code></pre>
  
  <p>This one correct display about.html when i user /about </p>
  
  <pre><code>RewriteEngine On
  RewriteRule ^about$ about.php [NC]
  </code></pre>
  
  <p>This doesn't work. Do you have any idea?
  Ubuntu 16 server with apache2</p>
  
  <p>And one more, when i remove </p>
  
  <pre><code>RewriteRule ^about$ about.html [NC]
  </code></pre>
  
  <p>from first options redirection still works...</p>
  
  <p>My conf looks like this:</p>
  
  <pre><code>&lt;Directory /var/www/html&gt;
      Options Indexes FollowSymLinks MultiViews
      AllowOverride all
      Order allow,deny
      allow from all
  &lt;/Directory&gt;
  </code></pre>
  
  <p>When i remove Directory from config file the redirection stop working. </p>