Remapping xml files in the urlmapping webconfig

  • Thread starter Thread starter lee atkinson
  • Start date Start date
L

lee atkinson

Dudes,

Im trying to remap an xml file to a .ashx file , but its not redirecting for
some reason ... Is there a bug in .net that disregards xml files?

This is what im doing in the web config-

<urlMappings enabled="true">
<add mappedUrl="~/feeds/rss/default.ashx" url="~/feed.xml"/>
</urlMappings>


All im getting is the blank xml document displayed ... Any thoughts? Is it
only .aspx files that can be mapped?

Cheers

Lee
 
Back
Top