Re: HTTPS automatic redirection

From: Levi Smith (lsmith_at_NOSPAMthekarisgroup.com)
Date: 11/25/03


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
>



Relevant Pages

  • RE: configuring ssl certificate in multiple website
    ... We can perform follow steps to configure one SSL web site: ... Prepare certificate for this SSL web site ... IIS SSL Configuration Component ...
    (microsoft.public.windows.server.sbs)
  • Re: OMA not implemented issue
    ... Both are secured with SSL. ... /Exchange virtual directory and I can log in to the OMA now. ... Why did you create another 'Web site identifier'? ... necessary when using front-end servers. ...
    (microsoft.public.exchange.setup)
  • RE: SSL Publishing to WEB Server and Disable Binding
    ... To answer your concern, you can feel to publish this SSL web site, and the ... Socket pooling causes Internet Information Services ... pooling won't impact the default web site on the SBS server. ...
    (microsoft.public.windows.server.sbs)
  • RE: IIS Problems
    ... I backed up my sharepoint site and performed a reinstall of the Intranet ... Can you advise if there is a way to confirm settings for default web site on ... reimport the original certificate to the default web site whcih was exported ... Did you apply a cert to the Companyweb site? ...
    (microsoft.public.windows.server.sbs)
  • Re: SharePoint 3.0 - making it accessible to user from the outside
    ... If the organization is not using SSL on that server for any other web site, ... making a SharePoint web site accessible to the outside is very doable. ...
    (microsoft.public.sharepoint.windowsservices)