Re: dynamic redirect for non-ssl urls
From: x y (levinson_k@excite.com)
Date: 01/15/03
- Next message: x y: "Re: FSO to non domain server UNC?"
- Previous message: x y: "Re: default Login dont know the password"
- In reply to: Dave Robbins: "Re: dynamic redirect for non-ssl urls"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
> >
> >
> >.
> >
- Next message: x y: "Re: FSO to non domain server UNC?"
- Previous message: x y: "Re: default Login dont know the password"
- In reply to: Dave Robbins: "Re: dynamic redirect for non-ssl urls"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|