I\'ve written a simple web application using asp.net mvc3 and I have a login page which control access to the site. Every request which is not authenticated will redirect to this page.
I need to use CDN for all images on my 开发者_StackOverflow社区site. So, Ive decided to use IIS Url-rewriting module,
I have read the threads and I still can\'t work it out, my problem I know, but wondering if could point me in the right direction.
I use a standard web.config file for my projects that are hosted on Windows servers.It takes care of 2 tasks.
I have a .net 4.0 web application hosted on IIS7 server. After reading this: http://learn.iis.net/page.aspx/496/iis-url-rewriting-and-aspnet-routing/ about serving static content from another server,
I have created a this rule: <rewrite> <rules> <rule name=\"ImageRedirect\" stopProcessing=\"false\">
I\'m using IIS7 UrlRewrite module. I set up my rules in the web.config <system.webServer><rewrite> section.
I have tried: 1) I tried empty string first: <action开发者_运维知识库 type=\"Redirect\" url=\"\" redirectType=\"Permanent\" appendQueryString=\"false\" />
I Have some problems with redirecting to another URL based on the query string parameters. I want to redirect users which enter www.domain.com/signup.aspx?p=1 to:
I\'m trying to rewrite urls from the form: https://example.com/about to the form http://example.com/about