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..

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Greg BessoIT Solutions EngineerCommented:
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...


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.
ISS-YokogawaAuthor Commented:
Hi guys,
thanks for the help. But I managed to find my way thru using the references below. thanks

1.      Plan alternate access mappings (Office SharePoint Server)

2.      Configure Alternate Access Mapping

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ISS-YokogawaAuthor Commented:
My solution was provided by Microsoft Premier Support and it works in my environment.

Closed, 125 points refunded.
Community Support Moderator
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
File Sharing Software

From novice to tech pro — start learning today.