title: VirtualHosts 404 for hidden files
body: <p>I'm using a friendly url solution that i achieve with the following lines in VirtualHosts</p>
  
  <pre><code>RewriteEngine on
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ script.php?$1
  </code></pre>
  
  <p>So i can have url's like <a href="http://example.com/something/something/else/other/things/" rel="nofollow">http://example.com/something/something/else/other/things/</a></p>
  
  <p>But how could i send a 404 status to the user who requests any url that has a folder starting with /. (it doesn't have to exist)</p>
  
  <pre><code>Example: http://example.com/.svn/this/should/be/404
  Example: http://example.com/other/things/.cannot/access/here
  Example: http://example.com/this/should/be/.denied
  </code></pre>
  
  <p>Examples that shouldn't be denied:</p>
  
  <pre><code>Example: http://example.com/t.his/is/ok
  </code></pre>
  
  <p>I've tried playing with FilesMatch and DirectoryMatch but this is more of a virtual path and i couldn't get it to work. Thank you for your help</p>