Equivalent to mod_rewrite

  • Thread starter Thread starter Jibba Jabba
  • Start date Start date
J

Jibba Jabba

Is there an equivalent to apache's mod_rewrite for IIS/dotnet? Supposed I
wanted to temporarily shut down a dot net application, and instead of coding
it into every aspx page I wanted to be able to configure the server so that
when it encounters a aspx page, it redirects to a "we're currently closed"
page.

Is there such a feature in dot net?
 
Hello, "Jibba Jabba"
Is there an equivalent to apache's mod_rewrite for IIS/dotnet? Supposed I
wanted to temporarily shut down a dot net application, and instead of coding
it into every aspx page I wanted to be able to configure the server so that
when it encounters a aspx page, it redirects to a "we're currently closed"
page.

Is there such a feature in dot net?

Consider to HttpApplication.BeginRequest Event. This event happened when IIS processes any aspx file.
Simply and Response.Redirect (Server.Transfer) to it.
 
Back
Top