<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://mvolo.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Redirect requests to your application with the HttpRedirection module</title><link>http://mvolo.com/blogs/serverside/pages/Redirect-requests-to-your-application-with-the-HttpRedirection-module.aspx</link><description>The HttpRedirection module allows you to configure regular expression-based rules that redirect clients from url A to url B using http redirection. When clients make a request to your server, and the url matches one of the redirection rules you have configured,</description><dc:language>en</dc:language><generator>CommunityServer 2.1 (Build: 60809.935)</generator><item><title>ServerSide : Redirect clients in your application with HttpRedirection module</title><link>http://mvolo.com/blogs/serverside/pages/Redirect-requests-to-your-application-with-the-HttpRedirection-module.aspx#1597</link><pubDate>Thu, 24 May 2007 19:19:17 GMT</pubDate><guid isPermaLink="false">2a6bde73-c016-462e-9ed7-d47dc91b6e81:1597</guid><dc:creator>ServerSide : Redirect clients in your application with HttpRedirection module</dc:creator><description>PingBack from http://mvolo.com/blogs/serverside/archive/2007/05/24/Redirect-clients-in-your-application-with-HttpRedirection-module.aspx</description></item><item><title>ServerSide : Redirect clients in your application with HttpRedirection module</title><link>http://mvolo.com/blogs/serverside/pages/Redirect-requests-to-your-application-with-the-HttpRedirection-module.aspx#1598</link><pubDate>Thu, 24 May 2007 19:22:12 GMT</pubDate><guid isPermaLink="false">2a6bde73-c016-462e-9ed7-d47dc91b6e81:1598</guid><dc:creator>ServerSide : Redirect clients in your application with HttpRedirection module</dc:creator><description>PingBack from http://mvolo.com/blogs/serverside/archive/2007/05/24/Redirect-clients-in-your-application-with-HttpRedirection-module.aspx</description></item><item><title>re: Redirect requests to your application with the HttpRedirection module</title><link>http://mvolo.com/blogs/serverside/pages/Redirect-requests-to-your-application-with-the-HttpRedirection-module.aspx#7812</link><pubDate>Wed, 26 Sep 2007 23:39:39 GMT</pubDate><guid isPermaLink="false">2a6bde73-c016-462e-9ed7-d47dc91b6e81:7812</guid><dc:creator>BTG</dc:creator><description>Sounds complicated for a simple aspnet requirement. 

If you move webpages and want all your clients to see the redirect upon any request then why not just create a default error in the web.config like:

&lt;?xml version="1.0" encoding="utf-8" ?&gt;
&lt;configuration&gt;
	
	&lt;system.web&gt;


		&lt;compilation defaultLanguage="vb" debug="false" /&gt;
		
		&lt;customErrors defaultRedirect="http://redirectedwebpage" mode="On"&gt;

		&lt;/customErrors&gt;
		

   
	&lt;/system.web&gt;
	
	
&lt;/configuration&gt;

placed in the root directory and all old website content removed it should easily force everyone to the new site as a default error. </description></item><item><title>re: Redirect requests to your application with the HttpRedirection module</title><link>http://mvolo.com/blogs/serverside/pages/Redirect-requests-to-your-application-with-the-HttpRedirection-module.aspx#13117</link><pubDate>Wed, 19 Mar 2008 22:58:51 GMT</pubDate><guid isPermaLink="false">2a6bde73-c016-462e-9ed7-d47dc91b6e81:13117</guid><dc:creator>robg</dc:creator><description>Is there a way to preserve Session state with this module so that, for example, a user could transgress across subdomains in the same session?</description></item><item><title>re: Redirect requests to your application with the HttpRedirection module</title><link>http://mvolo.com/blogs/serverside/pages/Redirect-requests-to-your-application-with-the-HttpRedirection-module.aspx#13467</link><pubDate>Mon, 08 Sep 2008 20:03:01 GMT</pubDate><guid isPermaLink="false">2a6bde73-c016-462e-9ed7-d47dc91b6e81:13467</guid><dc:creator>Rahul Vats</dc:creator><description>I tried to use this module with a website I am working on. It always gives the following error?
The configuration section 'httpRedirection' cannot be read because it is missing a section declaration 
Could you help me out
Here is the edited portion of the web.config file:
&lt;system.webServer&gt;
		&lt;validation validateIntegratedModeConfiguration="false"/&gt;
		&lt;modules&gt;
			&lt;remove name="ScriptModule"/&gt;
			&lt;add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;
			&lt;add name="HttpRedirectionModule" type="Mvolo.HttpRedirection.HttpRedirectionModule" /&gt;
		&lt;/modules&gt;
		&lt;handlers&gt;
			&lt;remove name="WebServiceHandlerFactory-Integrated"/&gt;
			&lt;remove name="ScriptHandlerFactory"/&gt;
			&lt;remove name="ScriptHandlerFactoryAppServices"/&gt;
			&lt;remove name="ScriptResource"/&gt;
			&lt;add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;
			&lt;add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;
			&lt;add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;
		&lt;/handlers&gt;
	&lt;/system.webServer&gt;
	&lt;!-- http redirection configuration --&gt;
		

	&lt;location path="secure"&gt;
	&lt;!-- http redirection configuration --&gt;
		&lt;httpRedirection enabled="true" appendOriginalUrl="true"&gt;
			&lt;rules&gt;
			&lt;!-- Redirect all HTTP requests to application to HTTPS --&gt;
			&lt;add name="SSLRedirect" urlPart="EntireUrl" matchUrl="^http://(.+)" redirectUrl="https://$1" /&gt;
			&lt;/rules&gt;
		&lt;/httpRedirection&gt;
	&lt;/location&gt;
</description></item><item><title>re: Redirect requests to your application with the HttpRedirection module</title><link>http://mvolo.com/blogs/serverside/pages/Redirect-requests-to-your-application-with-the-HttpRedirection-module.aspx#13708</link><pubDate>Mon, 23 Feb 2009 17:22:54 GMT</pubDate><guid isPermaLink="false">2a6bde73-c016-462e-9ed7-d47dc91b6e81:13708</guid><dc:creator>j</dc:creator><description>is this doable in IIS6?  Scenario:
I have a subdomain - subdomain.mysite.com - that I want to be redirected to www.mysite.com.  However, I need it to be applied for both https and http.  I am using IIS6 currently.  Any help is greatly appreciated!</description></item><item><title>re: Redirect requests to your application with the HttpRedirection module</title><link>http://mvolo.com/blogs/serverside/pages/Redirect-requests-to-your-application-with-the-HttpRedirection-module.aspx#13767</link><pubDate>Fri, 03 Apr 2009 16:46:09 GMT</pubDate><guid isPermaLink="false">2a6bde73-c016-462e-9ed7-d47dc91b6e81:13767</guid><dc:creator>Angel Valdes</dc:creator><description>I am trying to create an HTTPModule that will add a variable and value to the header and redirect the request to another external server (with the modified header). any ideas how I can acomplish this?

Thanks!</description></item><item><title>re: Redirect requests to your application with the HttpRedirection module</title><link>http://mvolo.com/blogs/serverside/pages/Redirect-requests-to-your-application-with-the-HttpRedirection-module.aspx#13872</link><pubDate>Thu, 25 Jun 2009 21:13:42 GMT</pubDate><guid isPermaLink="false">2a6bde73-c016-462e-9ed7-d47dc91b6e81:13872</guid><dc:creator>XC</dc:creator><description>Mike,

I am trying to use your module to do the following:

I want to transfer from:

http://www.mywebapp.com/OLDPath/somefile.aspx?param1=something&amp;param2=somethingelse

to

http://www.mywebapp.com/somefile.aspx?param1=something&amp;param2=somethingelse

Would you please send the the code you would use?  xc2k@hotmail.com
</description></item><item><title>re: Redirect requests to your application with the HttpRedirection module</title><link>http://mvolo.com/blogs/serverside/pages/Redirect-requests-to-your-application-with-the-HttpRedirection-module.aspx#14123</link><pubDate>Thu, 18 Mar 2010 09:21:49 GMT</pubDate><guid isPermaLink="false">2a6bde73-c016-462e-9ed7-d47dc91b6e81:14123</guid><dc:creator>replica watches</dc:creator><description>thanks for the share</description></item><item><title>re: Redirect requests to your application with the HttpRedirection module</title><link>http://mvolo.com/blogs/serverside/pages/Redirect-requests-to-your-application-with-the-HttpRedirection-module.aspx#14131</link><pubDate>Tue, 23 Mar 2010 17:37:55 GMT</pubDate><guid isPermaLink="false">2a6bde73-c016-462e-9ed7-d47dc91b6e81:14131</guid><dc:creator>Ken Wallewein</dc:creator><description>I'd like to see some examples, and a general solution to redirecting from http:// to the same url with https://...:&lt;port&gt;.  
This is because we need to support a number of SSL services on the same IP with different ports (because I don't want to pay for a separate static IP for each separate SSL, and the SSLs are on different hosts behing the firewall), and having to remember the SSL ports is a hassle.
Being able to accept http: connections that are redirected to the right SSL port would be easy to use.
/kenw</description></item></channel></rss>