[Mono-aspnet-list] HttpContext.RewritePath doesnt work with File?
acidzombie24 at gmail.com
Fri May 28 02:29:18 EDT 2010
In my webapp i rewrite ALL of my URLs. The urls seem to be hitting my .aspx
pages just fine. However when i have a url such as `/folder/file.ext` i need
to rewrite the url to ~/App_Data/public + cleanPath (which is
/folder/file.ext, clean just means no ?blah that isnt part of the filename).
When this occurs i get a 404. So anything that isnt a .aspx file ceases to
work except for the 1 css and 1 js file i have in my main directory.
How do i allow HttpContext.RewritePath to rewrite files to my
~/App_Data/public folder? This works perfectly in asp.net, i am using 2.4.2
(mod/xsp/mono). I followed Configuration and setup details on this page
Note: I tried mono 2.6.2 with no luck. BUT it was just mono at the version
level not xsp nor mod_mono.
View this message in context: http://mono.1490590.n4.nabble.com/HttpContext-RewritePath-doesnt-work-with-File-tp2234150p2234150.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
More information about the Mono-aspnet-list