title: linked files in htaccess
body: <p>I'm having a problem with the linked files in the page that is affected by the scope of the .htaccess file. </p>
  
  <p>Here's the .htaccess file:</p>
  
  <pre><code>RewriteEngine On  
  RewriteRule ^tp_update/id/([A-Z0-9]+)/([A-Z]+)/?$ update_taxpayer.php?tp_id=$1&amp;tp_type=$2 [NC,L]
  </code></pre>
  
  <p>I didn't get any error, and I can access this page:</p>
  
  <pre><code>tp_update/id/1234/ITP
  </code></pre>
  
  <p>But the problem is that, all the files which are linked to update_taxpayer.php is also being affected.
  When I view the page source and click the link css file. It says the file isn't found:</p>
  
  <pre><code>&lt;link href="../../css/style.css" rel="stylesheet" type="text/css" media="screen" /&gt;
  </code></pre>
  
  <p>And I get this:</p>
  
  <pre><code>tp_update/css/style.css
  </code></pre>
  
  <p>Instead of the link which I declared above.</p>
  
  <p>How do I get around with this?Is there a proper way of linking files when mod_rewrite is enabled.</p>