Link to home
Start Free TrialLog in
Avatar of MooseFruit
MooseFruit

asked on

ISA 2004 & Exchange 2003 OWA -- redirect from http:// to https:// ?

I have successfully setup an ISA 2004 server that only allows users to connect to an OWA 2003 server via https://myserver.com/exchange.

What I would like to do is setup ISA to redirect users from http://myserver.com to https://myserver.com/exchange. Is this possible?

As is stands today, the users are given an error if they visit http://myserver.com.

This is a user-convenience thing only. I do not want users to be able to access OWA via http, rather I would like http to redirect to https.

I have considered using a simple web page with a META redirect tag, but is this the correct approach and how would this be done? Can an ISA server even run IIS to serve up the simple web page?

Thanks!!!

Best,
Joe
Avatar of Emptyone
Emptyone
Flag of Norway image

ISA server can run IIS, but would recommend to keep IIS away from the ISA. It is a security risk
Avatar of MooseFruit
MooseFruit

ASKER

Thanks for the replies, but I need to incorporate ISA and the kb article does not include ISA in the solution.

I am open to alternative ideas, I just want the http -> https redirect to occur.
Publish the owa server on port 80 also, that will fix it
Publishing OWA on 80 will still require users to enter an extended URL, albeit http, but it will still be the longer http://myserver.com/exchange as opposed to the simpler http://myserver.com.  Plus this defeats best security practice of allowing connections to OWA via https only.

Thanks for the ideas so far.
If you set up the exchange virtual directory to require ssl. Then you would disable the connection not using ssl. And if you change the redirect script like this:

<%
  If Request.ServerVariables("SERVER_PORT")=80 Then
    Response.Redirect "https://" & Request.ServerVariables("SERVER_NAME") &
"/exchange/"
  End If
%>

then you could type http://myserver.com and be redirected to https://myserver.com/exchange
In your last example we are still defeating best security practices by allowing port 80 to pass the ISA server and the through DMZ where the ISA sits.  Port 80 from the Internet should not be able to reach OWA.

What we need is port 80 (http) to be redirected to port 443 (https) on the external side of the firewall.
I think you are getting close though!  If only that could be done on the ISA.....
I am looking into it. Have got the same set up on my server at home. Will inform you as soon as I find out something
Great, thanks for the ideas so far.
Still looking for assistance if anyone has any ideas.
Any other ideas???
I have looked at it, but I'm not able to find a way to do it. Have also looked at different ISA sites, but they have not got a good answer for it. But one way to do it is to direct port 80 asking for myserver.com to a server in DMZ, and then set up a redirect on that server
Found the solution.  Link translation!  Works beautifully.  Thanks for the effort, though.
ASKER CERTIFIED SOLUTION
Avatar of CetusMOD
CetusMOD
Flag of Netherlands image

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