title: mod_rewrite condition if file exits not working
body: <p>I have the following condition in my conf file:</p>
  
  <pre><code>RewriteCond %{REQUEST_URI} ^/export/.*$
  RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
  RewriteRule .* /opencms/handle404?exporturi=%{REQUEST_URI}&amp;%{QUERY_STRING} [P]
  </code></pre>
  
  <p>When I request the following file: </p>
  
  <p><code>http://www.somedomain.com/export/system/galleries_guardsman/pics/FPP/pencil-graphic-make-a-claim.png</code></p>
  
  <p>I can see in the rewrite log that it is matching the above conditions:</p>
  
  <pre><code>RewriteCond: input='/export/system/galleries_guardsman/pics/FPP/pencil-graphic-make-a-claim.png' pattern='^/export/.*$' =&gt; matched
  RewriteCond: input='/val/data/webapps/opencms/export/system/galleries_guardsman/pics/FPP/pencil-graphic-make-a-claim.png' pattern='!-f' =&gt; matched
  rewrite '/export/system/galleries_guardsman/pics/FPP/pencil-graphic-make-a-claim.png' -&gt; '/opencms/handle404?exporturi=/export/system/galleries_guardsman/pics/FPP/pencil-graphic-make-a-claim.png&amp;'
  </code></pre>
  
  <p>But the file <code>/val/data/webapps/opencms/export/system/galleries_guardsman/pics/FPP/pencil-graphic-make-a-claim.png</code> <strong>actually exists</strong>, so the RewriteRule should not be called.</p>
  
  <p>I am sure I am missing something but have no idea what... Any help or insight would be greatly appreciated.</p>