I have a app that runs on the web server that needs to post back to a site. It will only work locally over http. Now all requests are set to redirect to https if http is used. Is there any way to allow only local requests to use http while still redirecting all other http requests to the https site?

Im using a custom error page on 403.4 errors to redirect users currently.


Use the IIS Url Rewrite module and write whatever rules you need to support the scenarios you want to setup.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.