title: Absolute pass on RewriteRule
body: <p>I want users access the cgi script for searching tags in my blog, but the script is in another directory.  Is it possible to let RewriteRule to access to another directory?  I tried my own method but its not working so far.</p>
  
  <pre><code>  RewriteEngine on
    RewriteRule ^tag/([^/]*)/$ /var/www/html/script/search.cgi?tag=$1 [L]
  </code></pre>
  
  <p>When a user access <code>blog.com/tag/apple/</code> search.cgi searches for tag "apple"</p>
  
  <p>My blog's aboslute pass is </p>
  
  <blockquote>
    <p>/var/www/html/blog/</p>
  </blockquote>
  
  <p>Search script is here</p>
  
  <blockquote>
    <p>/var/www/html/script/search.cgi</p>
  </blockquote>