Actually its the mono version of asp.net, XSP.
In my begin request function i check the url and rewrite when necessary. In one case i do
context.RewritePath("~/App_Data/public" + path);
When i try to request images or anything i get a 404 instead of the content. Why?