The following works fine on my local host, but not on the server. I keep getting a page not found error. Any ideas? I also have a custom mime type setup in the web.config but that should not matter.
'--------------------------------------------------------
'Sub Application_BeginRequest()
'--------------------------------------------------------
'.
'.
'.
Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
'----------------------------------------------------
'Redirect
'----------------------------------------------------
'.
'.
'.
If Request.RawUrl.Contains(".page") Then
Context.RewritePath("/Default.aspx") ' TEST
End If
End Sub