[Mono-bugs] [Bug 371581] HttpContext.RewritePath no longer works
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Mar 17 16:29:42 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=371581
User gert.driesen at pandora.be added comment
https://bugzilla.novell.com/show_bug.cgi?id=371581#c1
Gert Driesen <gert.driesen at pandora.be> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gert.driesen at pandora.be
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Gert Driesen <gert.driesen at pandora.be> 2008-03-17 14:29:41 MST ---
You must implement the Application_BeginRequest method in your Global.asax:
<%@ Import Namespace="System" %>
<%@ Import Namespace="System.Web" %>
<script language="C#" runat="server">
void Application_BeginRequest (object sender, EventArgs e)
{
HttpApplication application = (HttpApplication) sender;
application.Context.RewritePath ("/testcase.aspx",
application.Request.PathInfo,
application.Request.QueryString.ToString ());
}
</script>
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list