Remapping xml files in the urlmapping webconfig

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top