title: UrlRewriter.NET - simple rewrite rule, but how?
body: <p>I have just installed the sample from Urlrewriter.net, but I can't seem to figure out 
  the rule for accomplishing my problem.</p>
  
  <p>Very simple:</p>
  
  <p>If the user is navigated to this page:</p>
  
  <pre><code>http://localhost/UrlRewriteTest/Default.aspx?PageID=33
  </code></pre>
  
  <p>The Url should look like: </p>
  
  <pre><code>http://localhost/UrlRewriteTest/33
  </code></pre>
  
  <p>or maybe</p>
  
  <pre><code>http://localhost/UrlRewriteTest/33.aspx
  </code></pre>
  
  <p>What am I doing wrong? Here is my web.config:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt; 
    &lt;configSections&gt;
      &lt;section name="rewriter" requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter"/&gt;
    &lt;/configSections&gt;
      &lt;system.web&gt;
      &lt;httpModules&gt;
        &lt;add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter"/&gt;
      &lt;/httpModules&gt;
      &lt;compilation targetFramework="4.0"/&gt;
      &lt;pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/&gt;
    &lt;/system.web&gt; 
    &lt;rewriter&gt;
      &lt;rewrite url="~/(.+)" to="~/Default.aspx?PageID=$1"/&gt; 
    &lt;/rewriter&gt;
      &lt;system.webServer&gt;
          &lt;modules runAllManagedModulesForAllRequests="true"&gt;
              &lt;add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule" /&gt;
          &lt;/modules&gt;
          &lt;validation validateIntegratedModeConfiguration="false" /&gt;
      &lt;/system.webServer&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>That is the first step. More ideally PageID should be passed to a database 
  and return the pagename instead of an ID, and the URL should end up looking
  like this:</p>
  
  <pre><code>http://localhost/UrlRewriteTest/thename/
  </code></pre>
  
  <p>Best regards.</p>