title: htaccess *.php to *.html object not found error
body: <p>I am trying to transform URLs from <code>index.php</code> to <code>index.html</code>, <code>servicii.php</code> to <code>servicii.html</code> and so on.</p>
  
  <p>I wrote in my <code>.htaccess</code> file, which is in my <a href="http://alexbtest.hostei.com/" rel="nofollow">site</a>  root the following code: </p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;  
      RewriteEngine On  
      RewriteBase     /
      RewriteRule     ^(.*)\.php$   $1.html [R=permanent] 
  &lt;/IfModule&gt; 
  ?&gt;
  </code></pre>
  
  <p>But when I follow "Prima pagina" (Home) or "Servicii" (the only 2 pages created on site) it gives me a 404 error</p>
  
  <p>Also, I have the code</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      RewriteEngine on
      RewriteBase  /fetesti/
      RewriteRule  ^(.*)\.php$   $1.html [R=permanent] 
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>on my local machine, which is XAMPP based. It gives me Object not found 404, and on my Apache log: </p>
  
  <blockquote>
    <p>file not found [...]/index.html;</p>
  </blockquote>
  
  <p>I know the rewrite engine is working (I wrote gibberish and it gave me 505 internal server error and made other tests)  </p>
  
  <p>What am I doing wrong?</p>