after mod-rewrite, all images file paths are not visible
<p>I want to add an url rewrite to a website and when I try to access the page it's loading with no images and css file.
Here is my code:</p>

<pre><code> &lt; rewriter&gt;
    &lt; rewrite url="~/item/(.+)/(.+)" to="~/item.aspx?imageId=$1&amp;amp;category=$2"/&gt;
  &lt; /rewriter&gt;
 and 

 &lt; location path="~/item.aspx"&gt;
    &lt; system.web&gt;
      &lt; authorization&gt;
        &lt; allow users="*" /&gt;
      &lt; /authorization&gt;
    &lt; /system.web&gt;
  &lt; /location&gt;
</code></pre>

<p>but it seems it is not recognize the path.
Does anyone what is wrong ?</p>

<p>Thank you,
Alina</p>
