ventaur / securityswitch

Security Switch enables various ASP.NET applications to automatically switch requests for pages/resources between the HTTP and HTTPS protocols without the need to write absolute URLs in HTML markup.
Other
2 stars 0 forks source link

Not redirecting to proper HTTPS URO #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set baseInsecureUri to http://www.yourdomain.com and baseSecureUri to 
https://secure.yourdomain.com.
2. Set login.aspx as a secure page.
3. Type http://yourdomain.com in your browser (without www.)
4. Click link to login.aspx and you are directed to 
http://yourdomain.com/secure.yourdomain.com/login.aspx

What is the expected output? What do you see instead?
Should redirect to https://secure.yourdomain.com/login.aspx

What version of the product are you using? On what operating system?
4.2.0.0 on IIS 6

Please include the securitySwitch configuration section from your
web.config file.
  <securitySwitch mode="On" baseInsecureUri="http://www.yourdomain.com" baseSecureUri="https://secure.yourdomain.com">
    <paths>
      <add path="~/Login.aspx"/>
      <add path="~/subscribed.aspx"/>
      <add path="~/sem.aspx"/>
      <add path="~/quiz.aspx"/>
      <add path="~/purchase.aspx"/>
    </paths>
  </securitySwitch>

Please provide any additional information below.

Original issue reported on code.google.com by jason.gi...@gmail.com on 13 May 2014 at 2:42

GoogleCodeExporter commented 9 years ago
Sorry meant to type URI in title

Original comment by jason.gi...@gmail.com on 13 May 2014 at 3:01

GoogleCodeExporter commented 9 years ago
I cannot reproduce this. Do you have any URL rewriting, proxies, etc. enabled 
that could be interfering?

Original comment by vent...@gmail.com on 24 Aug 2014 at 10:35

GoogleCodeExporter commented 9 years ago

Original comment by vent...@gmail.com on 12 Oct 2014 at 7:46