Re: dynamic redirect for non-ssl urls

From: x y (levinson_k@excite.com)
Date: 01/15/03


From: "x y" <levinson_k@excite.com>
Date: Wed, 15 Jan 2003 13:37:02 -0500

You don't need to rewrite all your scripts. You can create a new virtual
server instance, one bound to port TCP 80 that only has the redirect script
in it, and another bound to TCP 443 and where SSL is required.

"Dave Robbins" <drobbins@taubman.com> wrote in message
news:504301c2bca6$792ef9f0$d5f82ecf@TK2MSFTNGXA12...
> Thank you for you're reply. I had hoped to avoid
> rewriting all of our scripts - we have over 100, and I
> wanted to find an ISAPI solution that read headers, and
> bounced the client to the new URL.
>
> Dave
> >-----Original Message-----
> >Well, I think the easiest way to do this would be to put
> an .ASP page at the
> >old location. Something like:
> >
> ><% Response.Redirect "https://servername/filename.asp" %>
> >
> >.... and I think you do need to put the usual HTML /HTML
> and HEAD and BODY
> >tags in there too. Redirects like this are documented
> in various places in
> >www.google.com
> >
> >I don't think there is a way for you tell the server
> where to redirect the
> >client without using script or at least an HTML page.
> www.iisfaq.com has an
> >article on replacing the 404 error message to do this,
> but again you're
> >using script, and I think this is not as good a solution.
> >
> >Be sure to use the Security tab in the IIS MMC to
> require SSL on your web
> >site, except for the redirect page... or else SSL
> encryption becomes
> >optional.
> >
> >
> >"Dave Robbins" <drobbins@taubman.com> wrote in message
> >news:615601c2bc32$4b381af0$cef82ecf@TK2MSFTNGXA08...
> >> Hello all,
> >>
> >> Is it possible for IIS to redirect based on the port
> >> selected? That is, if the http header returns 80, can
> I
> >> configure IIS to automatically redirect to
> >> https://domain.com/url? Can this be accomplised
> without
> >> altering each asp script?
> >>
> >> I've installed ssl on IIS 4, and would like to have
> each
> >> old URL automatically redirect to the new, secure
> address.
> >>
> >> Thanks in advance.
> >>
> >> Dave
> >
> >
> >.
> >



Relevant Pages

  • Re: SSL Redirect
    ... explaining our recommended method of SSL redirection as it pertains to OWA. ... > Microsoft GTSC, IIS ... >> "They" in this case are the four solaris admins who manage our apache web>> servers. ... I will look to figure out how to pull off the ISAPI>> redirect method if it will give me more options and leverege to pull this>> off ...
    (microsoft.public.inetserver.iis)
  • Re: dynamic redirect for non-ssl urls
    ... >client without using script or at least an HTML page. ... >using script, and I think this is not as good a solution. ... except for the redirect page... ... >> Is it possible for IIS to redirect based on the port ...
    (microsoft.public.inetserver.iis.security)
  • Re: LDAP query information
    ... a "Dim" statement. ... script is run. ... Microsoft MVP Scripting and ADSI ... to redirect the output to a text file: ...
    (microsoft.public.windows.server.scripting)
  • Re: Page_Load method issues with Back Button
    ... startup script if it should run or not. ... redirect set the hidden field to a different value. ... Instead the client receives the response.redirect and still ... I have created a webform. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How do i setup multiple websites using ssl ?
    ... So, if the user is being redirected when attempting HTTP access, then something you are doing is causing that redirect. ... There are a couple of websites that have to run ssl. ... I also enabled the "enable metabase editing while iis is running" option. ... By using the "require ssl" because i wan't them to redirect to https. ...
    (microsoft.public.inetserver.iis.security)

Loading