Re: HTTPS automatic redirection
From: Levi Smith (lsmith_at_NOSPAMthekarisgroup.com)
Date: 11/25/03
- Next message: J Yue: "Re: 2 SSL certs for 1 IIS site?"
- Previous message: Keith W. McCammon: "Re: Controling Content by User"
- In reply to: Eric Shen [MSFT]: "RE: HTTPS automatic redirection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 25 Nov 2003 14:41:48 -0600
Thank you for your follow-up. I finally got it to work by not requiring SSL
connection for the following file: https://servername/_vti_bin/owssvr.dll on
the Win2k3std SRVR. The code, as provided, worked fine on my SBS 2000 SRVR.
""Eric Shen [MSFT]"" <ericshen@online.microsoft.com> wrote in message
news:Er1WOw0rDHA.3024@cpmsftngxa07.phx.gbl...
> Hi Levi,
>
> Generally, my codes work for most Web sites unless this Web site is
> configured to not support this. Please let me explain how this code works
> first:
>
> 1. A request is made to http://www.domain.com/myfolder/myfile.ext
>
> 2. As this Web site requires SSL (this is required), a 403.4 error is
> generated. IIS redirects you to http://www.domain.com/403-4.asp
(customized
> error)
>
> 3. Since this ASP page does not require SSL, you can browse it
> successfully. (required)
>
> 4. The code will check if you are using HTTP to access this page. If so,
it
> will find your original request URL, translate it to https:// format and
> then redirect to that page.
>
> 5. When the request is made via SSL, the page is able to be accessed
> successfully.
>
> Technically, I believe this code will work with SharePoint site as well.
> However, please be advices that the Web site should be using relative path
> (/test.asp) instead of absolute path (http://www.domain.com/test.asp) in
> its source code. If it uses absolute path and try to submit some
> information to the server, this code will not work as it will not forward
> the data to the page started with https prefix. You need to manually
> program for this situation. Also, in order to know why it is not working
on
> SharePoint site, you can use Response.Write strSecureURL to see how it
> happens.
>
> There may be vbscript (asp) codes take care of this issue but it need
> further design. You need to program it or search for a solution on the
> Internet. Normally, the best and most efficient way to let all the users
> know that they should use https to connect. Also, for the SharePoint
> question, you can post into the SharePoint related newsgroup for further
> assistance.
>
> Please feel free to let me know if there is anything I can do for you. I
> look forward to hearing from you.
>
> Regards,
>
> Eric Shen
> Product Support Services
> Microsoft Corporation
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> Get Secure! - www.microsoft.com/security
>
- Next message: J Yue: "Re: 2 SSL certs for 1 IIS site?"
- Previous message: Keith W. McCammon: "Re: Controling Content by User"
- In reply to: Eric Shen [MSFT]: "RE: HTTPS automatic redirection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|