« Previous Next »
Last post 09-05-2008 5:46 PM by Frozzare. 3 replies.
Average Rating Rate It (5)Thank you for the rating!
Page 1 of 1 (4 items)
Sort Posts: Oldest to newest Newest to oldest
Hello
I can't fine any about how to change, like .aspx to ex .do or something else?
Thanks for help :)
Have you considered removing it (.aspx), versus replacing it? What is the benefit of having a fictitious file extension?
If you want to map extension ".do" to be processed by asp.net then this article explains how to do it: http://blogs.iis.net/carlosag/archive/2008/07/04/mapping-a-different-file-extension-for-aspx-pages-in-iis-7-0.aspx
Alternatively, you can create a rewrite rule that rewrites any request that ends with ".do" :
<rule name="rewriterule"> <match url="^(.+)\.do" /> <action type="Rewrite" url="{R:1}.aspx"></rule>
Yeah thanks it work :)