Search code examples
asp.netmonoapache2xsp

Whats wrong with this ASP.NET rewrite?


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?


Solution

  • It looks like this isnt supported in mono ATM. HttpContext.Rewrite is but rewriting to files is not.