title: Extensionless URL rewriting in web.config ASP.NET
body: <p>I have a page with URL mysite.com/mypage.aspx and I want visitors to be redirected to this page if they go to mysite.com/mypage. It is only for this page and I wonder if this is possible to achieve in web.config. I do not have access to any source code, only to web.config (via FTP). I tried to log in to our web hosts control panel to check if there's any settings there I can use but it seems to be down for the moment.</p>
  
  <p>So can I do something like this in web.config (it's ASP.NET 2.0 if that matters)?</p>
  
  <p>Thanks in advance.</p>
  
  <p>Edit: I tried</p>
  
  <pre><code>&lt;urlMappings enabled="true"&gt;
      &lt;add url="~/index.htm" mappedUrl="~/default.aspx"/&gt;
   &lt;add url="~/mypage" mappedUrl="~/mypage.aspx"/&gt;
  &lt;/urlMappings&gt;
  </code></pre>
  
  <p>It works for index.htm but not (obviously) when there's no extension in the first place.</p>