title: why apache server redicect /doc to usr/share/doc
body: <p>I have the rewrite ruls in .htaccess file under /var/www in my ubuntu10.4 server like below, When the url appears to be <a href="http://127.0.0.1/doc/view" rel="noreferrer">http://127.0.0.1/doc/view</a>, the webpage shows "The requested URL /doc/view was not found on this server", and then I check the apach log, it logs "File does not exist: /usr/share/doc/view", so apprently apache redirect the /doc/view to /usr/share/doc/view. I don't know what it is going on here, can anybody help? thanks for help.</p>
  
  <pre><code>Options +FollowSymLinks
  IndexIgnore */*
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine on
  
  # if a directory or a file exists, use it directly
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  
  # otherwise forward it to index.php
  RewriteRule . index.php
  &lt;/IfModule&gt;
  </code></pre>