Link to home
Start Free TrialLog in
Avatar of ISS-Yokogawa
ISS-Yokogawa

asked on

Auto Redirection of HTTP to HTTPS for my MOSS 2007 Portal site

Hi all,

Is it possible for MOSS 2007 to have an auto redirection of HTTP request to HTTPS?
For example, when a user types in http://moss2007/sites/xxx/yyy in his IE; the request is auto routed to https://moss2007/sites/xxx/yyy without showing the Error 403 msg.
Any good guides I can follow?

thanks in advance for the help..

Avatar of Greg Besso
Greg Besso
Flag of United States of America image

While this is probably something you don't really want to do for security purposes, if you are referring to an intranet site, it's probably no big deal.

Just create a new web application that is using port 80 in IIS. Create a .ASP file in the home directory for that site. (Create a folder somewhere, put the ASP file in there, use that folder as the home directory for this site.

Then, in the ASP file have the following code...

<%
Response.Redirect("https://moss2007/site")
%>

If you want ALL URL's to be forwarded, you probably have to do some catching of the server variables to get the URL, then replace the http with https, and then response.redirect to it.

You can do it with Microsoft ISA 2006. I'm no expert on it but many on this site are.
ASKER CERTIFIED SOLUTION
Avatar of ISS-Yokogawa
ISS-Yokogawa

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ISS-Yokogawa
ISS-Yokogawa

ASKER

My solution was provided by Microsoft Premier Support and it works in my environment.

Thanks...
Closed, 125 points refunded.
Vee_Mod
Community Support Moderator