Hi,
protected void Application_BeginRequest(object sender, EventArgs e)
{
HttpContext context = HttpContext.Current;
if (context.Request.FilePath.ToString().StartsWith("/hotels-in-"))
{
context.RewritePath("country.aspx");
}
}
this is my code in global.asax.cs file
http://........../hotels-in-India //url is like this
Not Found
The requested document was not found on this server.
just its showing like this
this code is working in local system but when i uploaded the project to server its not working what to do??........
please help me...thx