title: URL Rewrite Rule shows blank page with text
body: <p>i'm learning how to rewrite urls and im trying to do that in my ubuntu server. I managed myselft to activate the Allowoverride All and i have htacess working.</p>
  
  <p>I want to change this url for example:</p>
  
  <pre><code>http://serverismai/myapi/public/rest/navigate.php
  </code></pre>
  
  <p>And i try to do it like this :</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      Options +FollowSymLinks
      RewriteEngine On
      RewriteBase /
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^home(.*)$ myapi/public/rest/curso/navigate.php/$1 [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>I've tried various solutions but this was the closest i got. The url dosent change automatically but if i insert <code>http://serverismai/myapi/public/rest/home</code> i see a blank page with some of my website html written ( not even the html of the page i'm trying to rewite url).</p>
  
  <p>I'm pretty new to this so i want to know if there is something wrong in the Rewrite Rule or if my error is somewhere else...</p>
  
  <p>Thank you!</p>